How-to Add VirtualBox Repo for Ubuntu Precise Based Distros

This Tip Show How-to Add the VirtualBox Repo to apt-get for Linux Ubuntu Precise.

  1. Open Terminal
  2. Add the VirtualBox Repo
    sudo su -c "nano /etc/apt/sources.list"

    Inserts:

    deb http://download.virtualbox.org/virtualbox/debian precise contrib

    Ctrl+x to Save & Exit

  3. Add the VirtualBox Repo Public Key
    wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -