How to Install Vagrant on Ubuntu 14.04 VPS

How to Install Vagrant on Ubuntu 14.04.

Vagrant is an open-source software product for building and maintaining portable virtual software development environments,[4] e.g. for VirtualBox, Hyper-V, Docker, VMware, and AWS. The core idea behind it lies in the fact that the environment maintenance of virtualizations becomes increasingly difficult in a large software development project.Vagrant simplifies the necessary software configuration management in order to increase development productivity. Vagrant is written in the Ruby language, but its ecosystem supports development in almost all major languages.Vagrant was first started as a personal side-project by Mitchell Hashimoto in January 2010. The first version of Vagrant was released in March 2010. In October 2010, Engine Yard declared that they were going to sponsor the Vagrant project.

First install Virtual Box :

sudo apt-get install virtualbox

After installing Virtual Box, Install Vagrant

sudo apt-get install vagrant

When you Install Vagrant , the process will require some packages. You can install them by running those commands :

bsdtar curl libruby1.9.1 libyaml-0-2 ruby ruby-childprocess ruby-erubis
ruby-ffi ruby-i18n ruby-log4r ruby-net-scp ruby-net-ssh ruby1.9.1 vagrant

Now add precise32
vagrant box add precise32 http://files.vagrantup.com/precise32.box

And to finish it, start Vagrant.
vagrant init
vagrant up

Now you have successfully installed Vagrant in Ubuntu 14.04.
vagrant

Enjoy
Register for free account now.