Site icon installvirtual

How to install Vagrant on Ubuntu 16.04

install vagrant on centos 7

Install Vagrant on Ubuntu 16.04

Vagrant is computer software that creates and configures virtual development environments. It can be seen as a higher-level wrapper around virtualization software such as VirtualBox, VMware, KVM and Linux Containers (LXC), and around configuration management software such as Ansible, Chef, Salt, and Puppet.

Vagrant was originally tied to VirtualBox, but version 1.1 added support for other virtualization software such as VMware and KVM, and for server environments like Amazon EC2. Vagrant is written in Ruby, but can be used in projects written in other programming languages such as PHP, Python, Java, C# and JavaScript.

Since version 1.6, Vagrant natively supports Docker containers, which in some cases can serve as a substitute for a fully virtualized operating system.

Read Also: How to install vagrant on Ubuntu 16.04?

Update your system

Firstly we need to update our system use following command:

apt update

After updating your system we will install prerequisites of vagrant.

Prerequisites for Vagrant

The prerequisite is you need to install Virtualbox before working on Vagrant because Vagrant uses Virtualbox to install virtual machines. So, now we will install Virtual Box using yum or you can check put my previous post on How to install Virtualbox 5

Install VirtualBox 5.1

Now we will install Virtualbox use following command to install virtualbox

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

sudo apt update

sudo apt install virtualbox-5.1

Install Vagrant

Finally we will install Vagrant on Ubuntu using apt or you can go to http://www.vagrantup.com/downloads to download the latest version of the vagrant.

sudo apt install vagrant

Now you have successfully installed vagrant version on Ubuntu 16.04.

You can go to http://www.vagrantbox.es/ here you will find a lot of stuff related to vagrant.

If you got any problem installing vagrant feel free to comment below..

Read Also: How to install virtualbox?

Exit mobile version