Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Last active October 5, 2018 14:26
Show Gist options
  • Save jansanchez/10146556 to your computer and use it in GitHub Desktop.
Save jansanchez/10146556 to your computer and use it in GitHub Desktop.
How to Install Vagrant in Debian Linux 64 bits

How to Install Vagrant in Debian Linux 64 bits

First, we install Virtualbox

sudo apt-get install virtualbox

Then, we install Vagrant

sudo apt-get install vagrant

Now we install Ruby 2.1.1(current stable)

Source: https://www.ruby-lang.org/en/downloads/

cd ~/downloads
wget -v http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
mkdir ~/applications

When Ruby finishes downloading:

mv ~/downloads/ruby-2.1.1.tar.gz ~/applications
cd ~/applications
tar -zxvf ruby-2.1.1.tar.gz

One time decompressed, we build from Ruby's source (we install it)

cd ruby-2.1.1
./configure
make
sudo make install

We check that everything is properly installed

vagrant -v
ruby -v
virtualbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment