I haven't used virtual box for a while. I am trying to install the latest virtualbox on Ubuntu 18.04 doesn't mention to install

  • VirtualBox Extension Pack and
  • dkms

after installing virtualbox 5.2.

Do I need to install the two, or is it better to do so? If yes, how?

I have some problem installing dkms, after installing virtual box and its extension pack. How can I solve the problem?

$ sudo apt install virtualbox-dkms
[sudo] password for t: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package virtualbox-dkms
  • In short, yes they are required. – Kulfy Oct 28 '18 at 13:11
  • Thanks. (1) What else do I need to install? (2) I have some problem installing dkms. see my update. – Tim Oct 28 '18 at 13:17
  • Are your multiverse repositories enabled? You can check it using Software and updates app. – Kulfy Oct 28 '18 at 13:23
  • It was because I overwrote my /etc/apt/souces.list. – Tim Oct 28 '18 at 14:55
  • sudo add-apt-repository multiverse should enable the multiverse repository so that you can install virtualbox-dkms if need be. – Terrance Oct 28 '18 at 14:59

In short, no.

  1. virtualbox-dkms does not reqired for deb package from oracle site

  2. VirtualBox Extension Pack only need for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards

From VirtualBox site, Extension Pack section:

Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL). Please install the same version extension pack as your installed version of VirtualBox.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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