Skip to content

Instantly share code, notes, and snippets.

@intarstudents
Created October 26, 2012 19:06
Show Gist options
  • Save intarstudents/3960777 to your computer and use it in GitHub Desktop.
Save intarstudents/3960777 to your computer and use it in GitHub Desktop.
How to add VirtualBox respository (Ubuntu)

Open source.list in your favorite text editor:

$ sudo nano /etc/apt/sources.list

Append this line and save changes:

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

Install Oracle VirtualBox repository PGP key:

$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

Update and upgrade (or install VirtualBox if not yet installed):

$ sudo aptitude update && sudo aptitude upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment