vboxdrv setup says make not found

After you update the kernel you need to run vboxdrv setup. But if you are trying to compile it for the first time or after removing the build-essential package, you might see the below error.

nn

$ sudo /etc/init.d/vboxdrv setupn[sudo] password for user:nStopping VirtualBox kernel modules ...done.nRecompiling VirtualBox kernel modules ...failed!n  (Look at /var/log/vbox-install.log to find out what went wrong)n$ cat /var/log/vbox-install.logn/usr/share/virtualbox/src/vboxhost/build_in_tmp: 62: n/usr/share/virtualbox/src/vboxhost/build_in_tmp: make: not foundn/usr/share/virtualbox/src/vboxhost/build_in_tmp: 62: n/usr/share/virtualbox/src/vboxhost/build_in_tmp: make: not foundn/usr/share/virtualbox/src/vboxhost/build_in_tmp: 62: n/usr/share/virtualbox/src/vboxhost/build_in_tmp: make: not foundn

nn

Ubuntu needs build-essential to run above command. Run below command to install the build-essential.

nn

$ sudo apt-get install build-essentailn$ sudo /etc/init.d/vboxdrv setupn

nn

Then you can use the virtual box!

nn

Tags

nn

    n

  • Virtualbox
  • n

  • virtualization
  • n

n

Proudly powered by WordPress

Discover more from Dedunu

Subscribe now to keep reading and get access to the full archive.

Continue reading