Installing Vbox and Vagrant

Installing VirtualBox

First download VirtualBox, which is virtualization software for creating VM’s.

If you’re on CentOS, follow the steps here.

If you’re on Ubuntu, perform:

$ sudo apt-get install virtualbox

If you want to download a newer version of Virtual Box or one specific to your OS and architecture, go to the Virtual Box download page.

Installing Vagrant

Here we are on a 64-bit version of CentOS, downloading and installing Vagrant 2.1.2:

$ yum -y install https://releases.hashicorp.com/vagrant/2.1.2/vagrant_2.1.2_x86_64.rpm

This is a similar command, but on a 64-bit version of Debian:

$ sudo apt-get install https://releases.hashicorp.com/vagrant/2.1.2/vagrant_2.1.2_x86_64.deb

If you want to download a newer version of Vagrant or one specific to your OS and architecture, go to the Vagrant download page.