How to install VirtualBox extension pack (.vbox-extpack) on the command line (headless)
Use the following command to install a VirtualBox extension pack on a server or other headless machine:
sudo vboxmanage extpack install [filename]
for example
sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-7.0.8.vbox-extpack