Uncategorized

How to install VirtualBox through PPA in ubuntu 14.10/14.10 or other distributions

virtualbox logo

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.

install virtualbox in linuxmint ubuntu 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 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

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

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

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This website uses cookies to improve your experience. We'll assume you're ok with this. Thank you! Accept Read More