2 starting virtualbox on solaris, 3 uninstallation, 4 unattended installation – Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual
Page 42: Starting virtualbox on solaris, Uninstallation, Unattended installation
2 Installation details
Note: If you are using Solaris Zones, to install VirtualBox only into the current
zone and not into any other zone, use pkgadd -G. For more information
refer to the pkgadd manual; see also chapter
, page
The installer will then prompt you to enter the package you wish to install. Choose
“1” or “all” and proceed. Next the installer will ask you if you want to allow the
postinstall script to be executed. Choose “y” and proceed as it is essential to execute
this script which installs the VirtualBox kernel module. Following this confirmation
the installer will install VirtualBox and execute the postinstall setup script.
Once the postinstall script has been executed your installation is now complete. You
may now safely delete the uncompressed package and autoresponse files from your
system. VirtualBox would be installed in /opt/VirtualBox.
2.4.2 Starting VirtualBox on Solaris
The easiest way to start a VirtualBox program is by running the program of your choice
(VirtualBox, VBoxManage, VBoxSDL or VBoxHeadless) from a terminal. These
are symbolic links to VBox.sh that start the required program for you.
Alternatively, you can directly invoke the required programs from /opt/VirtualBox.
Using the links provided is easier as you do not have to type the full path.
You can configure some elements of the VirtualBox Qt GUI such as fonts and
colours by executing VBoxQtconfig from the terminal.
2.4.3 Uninstallation
Uninstallation of VirtualBox on Solaris requires root permissions. To perform the unin-
stallation, start a root terminal session and execute:
pkgrm SUNWvbox
After confirmation, this will remove VirtualBox from your system.
If you are uninstalling VirtualBox version 3.0 or lower, you need to remove the
VirtualBox kernel interface package, execute:
pkgrm SUNWvboxkern
2.4.4 Unattended installation
To perform a non-interactive installation of VirtualBox we have provided a response
file named autoresponse that the installer will use for responses to inputs rather
than ask them from you.
Extract the tar.gz package as described in the normal installation. Then open a root
terminal session and execute:
pkgadd -d VirtualBox-3.1.0_BETA2-SunOS-x86 -n -a autoresponse SUNWvbox
42