Hello Linux Geeksters.

In this article I will show you how to install Virtualbox 4.2.10 on Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal, and Ubuntu 12.04 Precise Pangolin.
Virtualbox is the most popular virtual machine, usable for both Linux, Unix or Windows. To install Virtualbox on Ubuntu 12.10, 12.04, Debian and Fedora, see this article.
Install the dependencies:
$ sudo apt-get install dkms
Add the PPA’s key:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Add the repo:
$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian raring contrib" >> /etc/apt/sources.list.d/virtualbox.list'
Update the repo index:
$ sudo apt-get update
Install VirtualBox:
$ sudo apt-get install virtualbox-4.2