How to install VirtualBox Extension Pack to VirtualBox latest version on Linux?

I would also like to be able to verify extension pack has been successfully installed and and uninstall it, if I wish.


-First, you need to adhere to the VirtualBox Extension Pack Personal Use and Evaluation License.

Description of the VirtualBox Extension Pack functionality:

USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards.

Now, let's download the damn thing:

  • we need to store the latest VirtualBox version into a variable, let's call it LatestVirtualBoxVersion

  • download the latest version of the VirtualBox Extension Pack, one-liner follows

LatestVirtualBoxVersion=$(wget -qO - http://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT) && wget "http://download.virtualbox.org/virtualbox/${LatestVirtualBoxVersion}/Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack"

Simplification attribution goes to guntbert. Thank you.

You might want to verify its integrity by comparing its SHA-256 checksum available in file:


Then, we install it as follows:

sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack

To verify if it has been successfully installed, we may list the installed extension packs:

VBoxManage list extpacks

To uninstall the extension pack:

sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"

You can install the Extension Pack via the GUI too:

First you visit the VirtualBox download page, there under the heading
Virtualbox ... Extension Pack you find a link All supported platforms. A click on this link downloads the the extension pack.

Now from the Menu select File/Preferences

enter image description here

click on the icon I marked to select an extension file and proceed.

Of course the CLI method has the big advantage that you get it much quicker and need not scroll through the EULA...

  • I still don't understand why this answer is underrated. Keeping the terminal out is a far simpler way of doing things. – X.LINK Feb 1 '18 at 21:18
  • This solution is only viable if the extension pack (file) is local / on your machine. This answer doesn't provide information on downloading the extension pack. – blong Aug 29 '18 at 18:13
  • @blong excellent point, I added the information I had forgotten. Thank you. – guntbert Aug 29 '18 at 19:14

Keeping your Extension Pack up-to-date from CLI.

I am assuming you always have the latest VBox version installed (Oracle provides repositories for Ubuntu, Debian, OpnenSUSE, SLES, Fedora and Oracle Linux).

Get the version number of the latest version:

vboxversion=$(wget -qO - https://download.virtualbox.org/virtualbox/LATEST.TXT)

wget -qO - keeps wget quiet and retrieves the content of that file to stdout, where it can be saved into the variable.

Download the latest Extension Pack

wget "https://download.virtualbox.org/virtualbox/${vboxversion}/Oracle_VM_VirtualBox_Extension_Pack-${vboxversion}.vbox-extpack"

Install it (even if an older version already exists)

sudo vboxmanage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${vboxversion}.vbox-extpack

Alternatively, if you're running Debian with the non-free repositories, or Ubuntu with multiverse:

sudo apt-get install virtualbox-ext-pack

This will display the license if you haven't already approved it, and if you agree to the license, download the appropriate version of the extension pack and install it. The extension pack will then be upgraded along with VirtualBox when necessary.

  • The packages in the repos tend to be much older versions than what you get directly from the site. And as VBox is still moving rather fast... – guntbert Jun 16 '16 at 20:24
  • 2
    @guntbert I just wanted to point out that the extension pack is packaged — of course if you download a newer version of VirtualBox from the VirtualBox web site, download the pack from there; but if you use the packaged VirtualBox in your distribution, use the matching pack from the distribution. Ubuntu 16.06 has 5.0.18 which isn't very old at all, and is newer than the version you get by following Burian's instructions! – Stephen Kitt Jun 16 '16 at 21:07
  • Excellent point (I am used to finding the repo versions much more outdated) and a very good catch about the outdated Extensions version suggested in burian's anwer. – guntbert Jun 17 '16 at 18:23
  • 1
    virtualbox-ext-pack downloads the "real" file from Oracle's VirtualBox website. Installing virtualbox-ext-pack broke my system, hanging waiting on a "license agreement" -- with no way to "agree". This is a bug in the post-install script, where you're getting whatever Oracle gave you. I'd tend to avoid this package and rather install the extension pack on the command-line via VBoxManager or the GUI (file>preferences>extensions>add, select pre-downloaded file, agree to license). askubuntu.com/questions/754815/… – michael May 26 '17 at 17:24
  • @michael_n thanks for the update. Did you file a bug for your specific case, or is it one of the existing Launchpad bugs? – Stephen Kitt May 26 '17 at 18:56

protected by Community Apr 23 at 7:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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