Install Vagrant on Centos 7
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.
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 create virtual machine in virtualbox?
Update your system
Firstly we need to update our system use following command:
yum -y 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
You might also like: How to install vagrant on Ubuntu 16.04
Install VirtualBox 5
Now we will install Virtualbox use following command to install virtualbox
yum update -y
yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
yum install virtualbox-5.0
Finally we will install Vagrant on Centos go to http://www.vagrantup.com/downloads to download the latest version of the vagrant or use following Command to install Vagrant 1.8.1 which is latest at the time of this post.
then use the following command to install rpm vagrant package
yum localinstall vagrant_1.8.1_x86_64.rpm
Now you have successfully installed vagrant version on centos 7.
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 vagrant on Ubuntu 16.04