How-to Add Virtualbox Repo for Linux Debian 6 Squeeze

This Tip Show Step-by-Step How-to Add the Virtualbox Repo on Linux Debian 6 Squeeze.

  1. Open a Terminal Window
  2. Edit sources.list File:
    nano /etc/apt/sources.list
  3. Inserts:

    deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

    Ctrl+x to Save & Exit

  4. Add the Oracle Public Key:
    wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
  5. Update apt-get:
    apt-get update