VirtualBox Extension Pack Install
This is a quick How-To to install the Oracle VirtualBox extension pack using the command line on a Ubuntu host, though it should be very similar on other distributions.
Assuming VirtualBox is already installed, we can check the version as below:
jon@Ubuntu:~$ vboxmanage --version
6.1.32_Ubuntur149290
Following which we can download the correct version of the extension pack from Oracle.
jon@Ubuntu:~$ wget https://download.virtualbox.org/virtualbox/6.1.32/Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack
--2022-05-02 18:54:46-- https://download.virtualbox.org/virtualbox/6.1.32/Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack
Resolving download.virtualbox.org (download.virtualbox.org)... 23.217.8.42
Connecting to download.virtualbox.org (download.virtualbox.org)|23.217.8.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11137804 (11M) [text/plain]
Saving to: ‘Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack’
Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack 100%[====================================================================================================================================>] 10.62M 34.4MB/s in 0.3s
2022-05-06 13:54:48 (34.4 MB/s) - ‘Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack’ saved [11137804/11137804]
jon@Ubuntu:~$
Finally to install it, simply use the command below and accept the license agreement (assuming you comply with them).
jon@Ubuntu:~$ sudo VBoxManage extpack installl Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack
That's All Folks.