1. Add new software repository
Edit the file “/etc/apt/sources.list“ with your favorite editor and add the following line depending on your Ubuntu version:
Ubuntu 10.10 (Maverick Meerkat)
deb http://download.virtualbox.org/virtualbox/debian maverick contrib
Ubuntu 10.04 (Lucid Lynx LTS)
deb http://download.virtualbox.org/virtualbox/debian lucid contrib
Ubuntu 9.10 (Jaunty Jackalope)
deb http://download.virtualbox.org/virtualbox/debian karmic contrib
2. Add the GPG-Key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
3. Install VirtualBox
aptitude update aptitude install virtualbox-4.0 dkms
Links
* http://www.virtualbox.org
* http://www.virtualbox.org/wiki/Changelog
* http://en.wikipedia.org/wiki/VirtualBox
* http://de.wikipedia.org/wiki/VirtualBox