Installing VirtualBox 3.1 in Ubuntu

This post does not intend to explain how to create a virtual machine in Ubuntu. Since VirtualBox is not found on default repositories here we show how to install it using apt-get tool:

echo -e "\ndeb http://download.virtualbox.org/virtualbox/debian karmic non-free" >> /etc/apt/sources.list
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.1 dkms

Read more:
http://www.howtoforge.com/installing-virtualbox-3.1-on-an-ubuntu-9.10-desktop

See ya

Advertisements