Last active
August 12, 2022 23:40
-
-
Save p13i/be2ec2f1e6f59f0c1a06016a08e2effe to your computer and use it in GitHub Desktop.
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
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