There are two versions of VirtualBox available, one packaged by Ubuntu, one by VirtualBox. Both are Open Source (

There are a few extra features, such as USB support, which are closed-source and distributed in separate extension packs.

Installing VirtualBox from Ubuntu repositories (historically called VirtualBox-OSE for Open Source Edition) is easiest. Search for virtualbox-ose package in synaptic, aptitude or whichever package manager you use, or use this link.

To add the oracle maintained repository and install VirtualBox, copy paste this command into a terminal:

sudo sh -c "echo 'deb '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" && wget -q -O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install virtualbox-4.3 dkms

The latest version at the time of writing was 4.3. If VirtualBox has come out in a newer version than 4.3, you should update the package name in the command to reflect that.

Instructions are compiled from information from:

See VirtualBox/Previous for information on detailed instructions for older versions of Ubuntu and Virtualbox.

Known Issues

Ubuntu 8.10 Intrepid Ibex

There is a known issue with VirtualBox and the Ubuntu 8.04 and later Server releases. The server release requires the PAE extension to be available on the virtual processor presented by VirtualBox to the guest OS. PAE support on the virtual processor is available in VirtualBox, but must be enabled on a per processor basis.

This is done either through the GUI,

Vm's Settings > General Section > Advanced Tab > Enable PAE/NX

or with the command

VBoxManage modifyvm <VM name> -pae on

This article is also valid for Ubuntu 8.10 Intrepid Ibex

Virtual Box 4.1.12-Ubuntu-r77245 on Ubuntu 1204 64b Desktop The settings to enable PAE/NX can be found in:- VM Settings > System Section > Processor Tab > Extended Feature: Enable PAE/NX

64 bit guests

A 64 bit host CPU is not enough to run 64 bit guests (in contrast to VMWare). The host must also be running a 64-bit OS and have hardware virtualization extensions enabled in the mainboard BIOS.

VirtualBox/Installation (last edited 2014-01-08 18:24:24 by potter2769)