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 http://download.virtualbox.org/virtualbox/debian natty contrib
deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free
deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free

Added Oracles public key:

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -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

virtualbox

See also Download VirtualBox for Linux hosts.

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