VirtualBox

VirtualBox

Installation

Solaris

Download

curl -o 'VirtualBox-6.1.36-152435-Solaris.p5p' 'https://download.virtualbox.org/virtualbox/6.1.36/VirtualBox-6.1.36-152435-Solaris.p5p'
curl -o 'Oracle_VM_VirtualBox_Extension_Pack-6.1.36a-152435.vbox-extpack' 'https://download.virtualbox.org/virtualbox/6.1.36/Oracle_VM_VirtualBox_Extension_Pack-6.1.36a-152435.vbox-extpack'

Old packaging

See the read me file in extracted tarball.

tar -xzvf VirtualBox.tar.gz

Check if already installed

pkginfo | ggrep -i vbox

When already installed we need to remove it first.

pkgrm SUNWvbox

Install

pkgadd -d VirtualBox.pkg -n -a autoresponse SUNWvbox

New packaging

This seems to not work on S11U3. Commands are probably fine but installer tries to connect to some non-existing host.

Get the name of package from IPS archive:

pkg list -g VirtualBox-6.1.18-Solaris.p5p

And install it:

pkg install -g VirtualBox-6.1.18-Solaris.p5p system/virtualbox

Upgrade

IPS

pkg update -g VirtualBox-6.1.36-152435-Solaris.p5p system/virtualbox
beadm list
reboot

Extension pack

Check if there is already one installed and if the version mismatch with version of VirtualBox remove it.

VBoxManage list extpacks
VBoxManage extpack uninstall 'Oracle VM VirtualBox Extension Pack'

<name> is the file name of downloaded extension pack. This file has to named exactly as it is on download page otherwise it will not install.

VBoxManage extpack install <name>