How to install virtualbox's driver module vboxdrv on ubuntu

After a clean Ubuntu installation, there is no vboxdrv driver module.

Create a new folder jerry_virtualbox:

Use wget to download the virtualbox installation package: https://download.virtualbox.org/virtualbox/5.2.8/virtualbox-5.2_5.2.8-121009~Ubuntu~xenial_amd64.deb

Download is complete:

Install with sudo dpkg -i <package name>.

After apt-get update. If you encounter Could not get lock /var/lib/apt/lists/lock - open: Resource temporarily unavailable - unable to lock directory /var/lib/apt/lists error message:

sudo rm -vf /var/lib/apt/lists/*

After apt-get update is executed, execute the command

apt-get install build-essential

sudo vboxconfig

sudo rcvboxdrv setup:

Installed. To get more original technical articles from Jerry, please follow the public account "Wang Zixi" or scan the QR code below:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325025933&siteId=291194637