Install Oracle VM VirtualBox Extension Pack on CentOS / Ubuntu / Debian / Fedora / LinuxMint

VirtualBox Extension Pack is a set of open-source components that extends the functionality of the VirtualBox base package. Oracle provides the one extension pack, and it provides the following added functionality.

  1. The virtual USB 3.0 / 2.0 device
  2. VirtualBox Remote Desktop Protocol (VDRP)
  3. Disk image encryption with AES algorithm
  4. Host webcam pass through.
  5. Intel PXE boot ROM.
  6. Experimental support or PCI passthrough on Linux hosts.

This Mini how-to helps you to install Oracle VM VirtualBox Extension Pack on CentOS / Ubuntu / Debian / Fedora / LinuxMint operating systems.

You would need to install the same version extension pack, as your installed version of VirtualBox.

Prerequisites

Before proceeding, ensure you have Oracle VM VirtualBox installed on your machine.

READ: How To Install VirtualBox 6.0 / 5.2 on CentOS 8 / RHEL 8

READ: How To Install VirtualBox 6.0 / 5.2 on CentOS 7 / RHEL 7

READ: How To Install VirtualBox 6.0 / 5.2 on Ubuntu 18.04 / Ubuntu 16.04

READ: How To Install VirtualBox 6.0 / 5.2 on Debian 10

READ: How To Install VirtualBox 6.0 / 5.2 on Debian 9

READ: How To Install VirtualBox 6.0 / 5.2 on LinuxMint 19

READ: How To Install VirtualBox 6.0 / 5.2 on Fedora

Download Oracle VM VirtualBox Extension Pack

Download the Oracle VM VirtualBox extension pack using the wget command.

### VirtualBox 6.0 ###

cd /tmp

wget https://download.virtualbox.org/virtualbox/6.0.14/Oracle_VM_VirtualBox_Extension_Pack-6.0.14.vbox-extpack

### VirtualBox 5.2 ###

cd /tmp

wget https://download.virtualbox.org/virtualbox/5.2.34/Oracle_VM_VirtualBox_Extension_Pack-5.2.34.vbox-extpack

Install Oracle VM VirtualBox Extension Pack

We can install Oracle VM VirtualBox either using graphical mode or command line mode.

Graphical Mode

To install the extension pack, go to VirtualBox >> Preference >> Extensions >> browse for extension pack by clicking on the + icon.

Click on the install button.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts – Browse and Install Extension Pack

Read and accept the Oracle VM VirtualBox Extension Pack license agreement.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts – Accept License Agreement

This extension pack installation requires root or root equivalent privilege. So, you may need to type the root password or sudo password of your account.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts – Authentication

The below screenshot shows that the extension pack has been successfully installed.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts – Extension Pack Installed Successfully

Command Line Mode

Let’s see the installed Extension pack. You won’t find any packages because Extension does not come bundled with VirtualBox.

### CentOS / RHEL / Fedora ###

VBoxManage list extpacks

### Ubuntu / Debian ###

sudo VBoxManage list extpacks

Output:

Extension Packs: 0

Install Oracle VM VirtualBox Extension Pack using the following command.

### CentOS / RHEL / Fedora ###

cd /tmp

VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack

### Ubuntu / Debian ###

cd /tmp

sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack

Accept the license agreement and install it.

.    .     .
.    .     .

exclusive jurisdiction of, and venue in, the courts of San Francisco
or Santa Clara counties in California in any dispute arising out of or
relating to this Agreement.

Do you agree to these license terms and conditions (y/n)? Y  << Type Y and Press Enter

License accepted. For batch installaltion add
--accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb
to the VBoxManage command line.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

Verify Oracle VM VirtualBox Extension Pack

Graphical Mode

Go to VirtualBox >> Preference >> Extensions. You should see the extension which we installed a minute ago.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts – List the installed Extensions

Command Line Mode

Let’s list the installed extension packs.

### CentOS / RHEL / Fedora ###

VBoxManage list extpacks

### Ubuntu / Debian ###

sudo VBoxManage list extpacks

Output:

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      6.0.0
Revision:     127566
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

The above output confirms that you have successfully installed Oracle VM VirtualBox extension pack.

Uninstall Oracle VM VirtualBox Extension Pack

if you would like to remove in the future, use the following command to uninstall.

### CentOS / RHEL / Fedora ###

VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"

### Ubuntu / Debian ###

sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"

Conclusion

That’s All. I hope this post helped you to install Oracle VM VirtualBox Extension Pack on CentOS / Ubuntu / Debian / Fedora / LinuxMint operating systems.

centos 6centos 7debian 9Fedoralinuxmint 19ubuntu 16.04ubuntu 18.04virtualbox
Comments (16)
Add Comment
  • tareka

    thanks man , you save my day.

  • Jason

    Thank you. I’ve been trying for the past hour trying to figure out how to install this.

  • JP

    thanks

  • sienna

    Hi there
    thanks for help first
    I have got an issue.
    when I paste on terminal this
    sudo VBoxManage extpack get-install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpacks
    the terminal say:
    Syntax error: Invalid command ‘extpack’

    did you wrote something wron or my is my pc problem?!
    Cheers

    • Raj

      Download correct extension pack and change the command according to the download package

  • heikki

    Thanks for the instructions Raj! I initially installed the extension packs using sudo, but I was not able to get the extension pack to work (VBoxManage list extpacks didn’t list the installed package, only sudo VBoxManage did). I uninstalled and reinstalled the extension pack without sudo and after that everything worked fine. Is sudo really needed, or do you need to run virtualbox as root? I’m on Ubuntu 14.04, so there might be differences between distros?

  • nhald

    how to install ext. pack in window 8.1 sir? please mail me thank you!!

  • Najela

    Thanks for your help man 🙂

  • Akkie

    Thanks a lot foe this help.

  • Amine Zroud

    Hi,

    If you have already an old version of Extension package installed you will get this error message : VBoxManage: error: Extension pack ‘Oracle VM VirtualBox Extension Pack’ is already installed. In case of a reinstallation, please uninstall it first.

    You can bypass that by adding –replace to the command : VBoxManage extpack install –replace Oracle_VM_VirtualBox_Extension_Pack-5.0.18.vbox-extpack

    –replace will uninstall existing extension pack version.

    Regards.

  • Petr Mařák

    Thank you so much!

  • Hrvoje Kevic

    Thank you, you just saved my day!

  • robin

    this helped me too. thank you so much.

  • Agbons David

    Thanks for sharing this knowledge.