Install VirtualBox 3.2 Repository Authentication Key Frist
- Add public key first. For that, copy-paste the following command in Terminal.
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
- Done.
- Now you need to add repositories depending on the version of Ubuntu you use. Firstly, open sources.list file in Gedit text editor.
sudo gedit /etc/apt/sources.list
- Done. Now, depending on the version of Ubuntu you use, copy-paste the following line towards the end of sources.list file you just opened.
For Ubuntu 10.10 Maverick Meerkat
deb http://download.virtualbox.org/virtualbox/debian maverick non-free
For Ubuntu 10.04 Lucid Lynx
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
- Done. Now save and exit text editor.
Install VirtualBox 3.2.10 in Ubuntu Maverick, Lucid
- You have added the PPA and the key to authenticate it. Now, simply do the following in Terminal to install VirtualBox 3.2.10 in Ubuntu Maverick, Lucid.
sudo apt-get update sudo apt-get install virtualbox-3.2
- Done. If you using other distros, visit VirtualBox Download Page.
Please note that, I have tried this only on Ubuntu Maverick and I am not sure if you will be able to get the latest VirtualBox 3.2.10 in Ubuntu Lucid also. Between, there is also a open source edition of VirtualBox. Search for virtualbox-ose in Software Center.