How to install and Configure virtualbox on ubuntu 12.10 and ubuntu 12.04

Install Virtualbox on Ubuntu

Step one » sort the below command to feature virtualbox repository .

  • sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /etc/apt/sources.list'

Step two » transfer and register oracle public key by issue the below command

  •  wget -q -O- | sudo apt-key add -

Step three » currently update the repositories.

  • sudo apt-get update

Step four » once change repositories, begin putting in Virtualbox four.2.

  •  sudo apt-get install virtualbox-4.2