Last active
December 24, 2015 10:59
-
-
Save ralavay/6788204 to your computer and use it in GitHub Desktop.
Install Virtualbox 4.2 in Ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The default version of VBox in Ubuntu partner repo is 4.1 | |
# We need to add new repo to install newest version 4.2.x | |
# Add virtualbox repo | |
sudo apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" -y | |
# Add Oracle public key | |
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | |
# Fetch database | |
sudo apt-get update | |
# Install virtualbox 4.2 | |
sudo apt-get install virtualbox-4.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment