For Mac OS X hosts, Oracle VM VirtualBox ships in a
dmg disk image file. Perform the following
steps to install on a Mac OS X host:
Double-click on the
dmgfile, to mount the contents.A window opens, prompting you to double-click on the
VirtualBox.pkginstaller file displayed in that window.This starts the installer, which enables you to select where to install Oracle VM VirtualBox.
An Oracle VM VirtualBox icon is added to the
Applicationsfolder in the Finder.
To uninstall Oracle VM VirtualBox, open the disk image
dmg file and double-click on the uninstall
icon shown.
To perform a non-interactive installation of Oracle VM VirtualBox you can use the command line version of the installer application.
Mount the dmg disk image file, as described
in the installation procedure, or use the following command
line:
hdiutil attach /path/to/VirtualBox-xyz.dmg
Open a terminal session and run the following command:
sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /Volumes/Macintosh\ HD

