I have installed virtualbox many times in my ubuntu machine. But recently, after installing virtualbox in my ubuntu machine from Software center, I found some problem installing guest additions in it. After much searching I found that I have installed OSE which was not the latest version. Then I removed the VirtualBox OSE from Software center and downloaded the latest Oracle VM VirtualBox.
Lets see how to remove OSE and install Oracle VM VirtualBox:
First remove the OSE from Software Center. The already installed guest Operating Systems will not be affected(atleast it din’t for me).
Now download the latest stable version from here. Choose the best for the platform you are using from the provided list. For me it was “VirtualBox 4.2.10 for Linux hosts“. Choose the appropriate package for your Linux distribution from the list. I choosed the Ubuntu 10.04 LTS (“Lucid Lynx”) i386 for 32bit machine.
This will ask you to download the .deb file. Choose the location to save or it normally downloads to your “Downloads” directory.
To install double click the just downloaded .deb file. It will open a window, click “Install Package”. It will install the Oracle VM VirtualBox. If you get any error regarding other version of virtualbox already being installed, you probably must have forgot to remove the old OSE virtualbox. If so, delete it from the software center.
To open go to Applications->System Tools->Oracle VM VirtualBox(for Ubuntu<=10.10) and above that search for virtualbox or you can see an icon in the side bar.
I hope this will help someone and saves his/her day.