I had been downloading and installing VirtualBox on my system. Today I found that there is an official PPA for VirtualBox with packages for many Ubuntu releases. Now I can safely stop watching out for newer releases of VirtualBox and depend on Synaptic to update me when one is available.
Follow the steps below to add the PPA to your system. The examples are for Ubuntu Trusty Tahr (14.04). Remember to replace the trusty to the correct Ubuntu distribution in the first command.
- Add the PPA to your sources
$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list'
- Import the key
$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
- Update your repository
$ sudo apt-get update
- Install virtualbox
$ sudo apt-get install virtualbox-4.3