19

I try to install the Virtualbox software following the directions from the Oracle's website: https://www.virtualbox.org/wiki/Linux_Downloads

When I start Virtualbox is displayed to me the following message:

The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.4.0-22-generic) or it failed to load. Please recompile the kernel module and install it by: sudo /sbin/rcvboxdrv setup.

Additionally,I execute the directions from this answer: Can't install Virtualbox on 15.04

but my problem is not solved. Any ideas?

  • Hi. See if the answer in this question helps. It has a similar error message to yours. – gsxruk May 29 '16 at 16:01
  • Thanks, but the link which you posted is the same with the directions of the Oracle's website which I have referred in my question. – Ezazel May 29 '16 at 16:12
  • 1
    Sorry. I pasted the wrong link! Try this link. – gsxruk May 29 '16 at 16:53
25

I don't think I had to do any of that on Ubuntu > 16.04. I would try the version in Ubuntu repositories. Simply install it from the Ubuntu Software or run the command:

sudo apt-get install virtualbox

You might want to undo any changes to the software sources.list that you have done first.

4

Remove older version of virutalbox if it's installed in the system

sudo apt remove virtualbox

Add PPA to sources.list

sudo nano /etc/apt/sources.list

Add this file to the end of the file and do Ctrl+X to exit nano

deb http://download.virtualbox.org/virtualbox/debian xenial contrib

Fetch the GPG key

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Install the package

sudo apt update 
sudo apt install virtualbox-5.1

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.