Install VirtualBox Extension Pack Headless

To install the VirtualBox Extensions on a server without graphical interface, just download the extension pack from the website and install it using the „VBoxManage“ command.

Download and install Extension Pack

$ wget
$ VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.18.vbox-extpack

List installed Extension Packs

$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.2.12
Revision: 122591
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
Usable: true
Why unusable:

Uninstall Extension Pack

$ VBoxManage extpack uninstall "Oracle Virtual Machine VirtualBox Extension Pack"
Successfully uninstalled "Oracle Virtual Machine VirtualBox Extension Pack".