Installing Oracle VM Virtualbox on Ubuntu 11.04

Virtualbox is a very handy virtualization software. There are two versions, Oracle and Open Source Edition (OSE). The OSE version can be installed in Ubuntu through its own package. This short guide gives you the commands for installing the Oracle version.

Start off by enabling virtualization for your CPU in BIOS.

Added to /etc/apt/sources.list:

# Oracle Virtualbox
deb natty contrib
deb maverick contrib non-free
deb lucid contrib non-free
deb karmic contrib non-free
deb hardy contrib non-free
deb squeeze contrib non-free
deb lenny contrib non-free

Added Oracles public key:

wget -q -O- | sudo apt-key add -

Updated the package manager and install VirtualBox 4.1:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install virtualbox-4.1 dkms

Restart machine and run the Virtualbox Manager by typing


See also Download VirtualBox for Linux hosts.

Dette innlegget ble publisert i Ubuntu / Linux og merket med , , , , , . Bokmerk permalenken.