How To Install VirtualBox Through PPA In Ubuntu 14.10/14.10 Or Other Distributio

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 simpler way of installing VirtualBox instead of downloading package from website and depackaging it through dpkg. So here you can also install it from ppa. Although you can directly open .deb file in software center that will install quickly but those who are familiar with repository then you can do it with adding ppa also.

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

Install VirtualBox using ppa

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 -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 trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 13.10

sudo sh -c 'echo "deb saucy contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 13.04

sudo sh -c 'echo "deb raring contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 12.10

sudo sh -c 'echo "deb quantal contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 12.04

sudo sh -c 'echo "deb precise contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 11.10

sudo sh -c 'echo "deb oneiric contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Ubuntu 11.04

sudo sh -c 'echo "deb 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

It’s all done! You’ve installed VirtualBox open it from dash by typing ‘virtualbox’.

Also read our important article How To Install Software In Linux : An Introduction