How to upgrade VirtualBox to the latest version?

111,334

Solution 1

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.

Solution 2

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

Solution 3

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

Share:
111,334
karthick87
Author by

karthick87

Updated on September 17, 2022

Comments

  • karthick87
    karthick87 over 1 year

    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?

  • Code.Decode
    Code.Decode over 13 years
    +1 From experience I know that you won't loose your Virtual Machines when you do this
  • Takkat
    Takkat over 13 years
    I can confirm this. VBox 3.2 needs to be removed before installing 4.0 but you will not loose any vdi :)
  • aneeshep
    aneeshep over 13 years
    i can also confirm this. I have upgraded to virtualbox 4 yesterday. working fine with compiz.
  • Javier Rivera
    Javier Rivera over 13 years
    It's better to add the repo if you can. I have updated my own machine without problems.
  • Lekensteyn
    Lekensteyn about 13 years
    The link to the VirtualBox extension pack is outdated. The current version is 4.0.2 which can be found at virtualbox.org/wiki/Downloads
  • Nathan Osman
    Nathan Osman about 13 years
    @Lek: You can edit my answer.
  • Lekensteyn
    Lekensteyn about 13 years
    @George Edison: Done :)
  • Mike
    Mike over 11 years
    broken links, -1
  • Martin Owens -doctormo-
    Martin Owens -doctormo- over 11 years
    You could have just asked me to fix it.
  • Sanam Patel
    Sanam Patel over 11 years
    +1 Or easier still, just edit the answer with the new link...
  • Oli
    Oli over 11 years
    @MartinOwens-doctormo- Anyone can suggest an edit. Even unauthenticated people.