How do I resolve 'The character device /dev/vboxdrv does not exist' error in Ubuntu 18.04 [closed]

 


It clearly states that you need to install the virtualbox-dkms packages. You can follow these steps to solve the problem.

    Install the virtualbox-dkms

sudo apt-get install virtualbox-dkms

    Once you install those packages you also need to do the reconfiguration:

sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox

    If your problem is still not fixed try installing the headers:

sudo apt-get install linux-headers-generic


source : https://stackoverflow.com/questions/60350358/how-do-i-resolve-the-character-device-dev-vboxdrv-does-not-exist-error-in-ubu