Recently I posted a video in our video tutorials page on “How To Install Genymotion And Run Android Apps (Whatsapp) On Ubuntu 14.10/Linux Mint Or Others Video Tutorial“. I was asked for a simpler way of installing VirtualBox instead of downloading a package from the website and repackaging it through dpkg. So here you can also install it from PPA.

VirtualBox is used to install another virtual operating system inside one operating system. If you want to know more about VirtualBox then read here.

First of all install dependency for VirtualBox. sudo apt-get install dkms Add PPA

To add PPA and key use the following commands – wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - Add the public key to your repository that you just installed

for ubuntu 14.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list'

for ubuntu 13.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian saucy contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 13.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian raring contrib" >> /etc/apt/sources.list.d/virtualbox.list' For Ubuntu 12.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian quantal contrib" >> /etc/apt/sources.list.d/virtualbox.list' For Ubuntu 12.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list.d/virtualbox.list' For Ubuntu 11.10

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian oneiric contrib" >> /etc/apt/sources.list.d/virtualbox.list' for ubuntu 11.04

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian natty contrib" >> /etc/apt/sources.list.d/virtualbox.list' Now its time to update your repositories

sudo apt-get update Now its time to install VirtualBox

sudo apt-get install virtualbox-4.3 If you want to install any other version then just replace 4.3 with whatever the version you want, like, 4.2 or 4.1