Skip to content

Instantly share code, notes, and snippets.

@electric380v
Created January 20, 2019 20:31
Show Gist options
  • Save electric380v/476ac122c8163326b8fb63f29ee80f54 to your computer and use it in GitHub Desktop.
Save electric380v/476ac122c8163326b8fb63f29ee80f54 to your computer and use it in GitHub Desktop.
Vagrant setup
# 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