I installed Oracle VirtualBox 4.1.12 in my Ubuntu 12.04.
Now I want upgrade from 4.1.12 to 4.2.10 version.
How can I upgrade the Oracle VirtualBox in command line
Try this:
Add this line to /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian precise contrib
Add PGP keyring:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- \
| sudo apt-key add -
Update source list:
sudo apt-get update
Then install virtualbox-4.2:
sudo apt-get install virtualbox-4.2