Skip to content

Instantly share code, notes, and snippets.

@p13i
Last active August 12, 2022 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p13i/be2ec2f1e6f59f0c1a06016a08e2effe to your computer and use it in GitHub Desktop.
Save p13i/be2ec2f1e6f59f0c1a06016a08e2effe to your computer and use it in GitHub Desktop.
set -e
# Source: https://askubuntu.com/a/1188143/1622689
sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install autoconf automake bc bison build-essential flex gcc g++ make python -y
sudo apt-get purge virtualbox -y
sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -c | cut -f2) non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update -y
sudo apt-get install virtualbox-6.0 -y
sudo apt-get install vagrant -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment