28

I am currently using VirtualBox 3.2. I would like to upgrade it to latest version without losing any operating systems in it. How can I achieve this?

Yi Jiang
  • 1,206
karthick87
  • 81,947

3 Answers3

22

Head on over to this page and download the Ubuntu package for your version / architecture.

Be sure to get the VirtualBox extension pack too. (This provides USB 2.0 and RDP support.) The most recent version can be found on the VirtualBox Downloads page.

Lekensteyn
  • 174,277
Nathan Osman
  • 32,155
8

Add one line to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian maverick contrib

The Oracle public key for apt-secure can be downloaded here. You can add this key with

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - 

To install VirtualBox, do

sudo apt-get update 
sudo apt-get install virtualbox-4.0
hhlp
  • 42,002
4

You should be able to upgrade virtualbox from the ppa available from virtualbox directly.

There is also a good ppa if you want to make sure you keep the open source edition (ose):

https://launchpad.net/~debfx/+archive/virtualbox