Hello Linux Geeksters. As you may know, VirtualBox is a popular virtualization software developed by Oracle, working on both Linux and Windows. The latest version available is VirtualBox 4.2.16, which comes with some improvements.

In this article I will show you how to install VirtualBox 4.2.16 on Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal, Ubuntu 12.04 Precise Pangolin, Linux Mint 15 Olivia, Linux Mint 14 Nadia and Linux Mint 13 Maya.
Virtualbox 4.2.16 is not available for Ubuntu 13.04 and Ubuntu 12.10 (and derivates) via repository, but the repo for Ubuntu 12.04 works also on the newer versions. Follow this steps exactly, for a successful installation:
Add the repository:
$ su -sh -c ' echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list'
Download and add the key:
$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Update the local repository index:
$ sudo apt-get update
Install VirtualBox 4.2.16:
$ sudo apt-get install virtualbox-4.2