For Mac OS X hosts, VirtualBox ships in a disk image
(dmg
) file. Perform the following
steps:
-
Double-click on that file to have its contents mounted.
-
A window will open telling you to double click on the
VirtualBox.mpkg
installer file displayed in that window. -
This will start the installer, which will allow you to select where to install VirtualBox to.
After installation, you can find a VirtualBox icon in the "Applications" folder in the Finder.
To uninstall VirtualBox, open the disk image (dmg) file again and double-click on the uninstall icon contained therein.
To perform a non-interactive installation of VirtualBox you can use the command line version of the installer application.
Mount the disk image (dmg) file as described in the normal installation or use the following command line:
hdiutil attach /path/to/VirtualBox-xyz.dmg
Then open a terminal session and execute:
sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /Volumes/Macintosh\ HD