Skip to content

Instantly share code, notes, and snippets.

@droberson
Created April 7, 2020 02:15
Show Gist options
  • Save droberson/3fa593269e511deaac0e8addcd61f2b1 to your computer and use it in GitHub Desktop.
Save droberson/3fa593269e511deaac0e8addcd61f2b1 to your computer and use it in GitHub Desktop.
Install vagrant + virtualbox on ubuntu 18.04
#!/bin/sh
# install latest virtualbox and vagrant
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 add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
sudo apt update
sudo apt install -y virtualbox-6.0
wget https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.deb
sudo dpkg -i vagrant_2.2.5_x86_64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment