How To Install Oracle VM VirtualBox Extension Pack on Linux Hosts

16

VirtualBox Extension Pack is a set of open source component which extends the functionality of 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 pass through on Linux hosts.

This Mini how-to helps you to install the VirtualBox extension package on Linux machines.

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 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 LinuxMint 19

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

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.0/Oracle_VM_VirtualBox_Extension_Pack-6.0.0.vbox-extpack

### VirtualBox 5.2.22 ###

cd /tmp
wge https://download.virtualbox.org/virtualbox/5.2.22/Oracle_VM_VirtualBox_Extension_Pack-5.2.22.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
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
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 root password or sudo password of your account.

Install Oracle VM VirtualBox Extension Pack on Linux Hosts - Authentication
Install Oracle VM VirtualBox Extension Pack on Linux Hosts – Authentication

Below screenshot shows that the extension pack has been successfully installed.

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

Command Line Mode

Let’s see the installed Extensions 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
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 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"

That’s All.

Further Reading

You might also like

How To Install Oracle VM VirtualBox Extension Pack on Linux Hosts

16