The Vagrant installation on CentOS Linux is a fairly simple few commands process. First, we need to download a official RPM from http://www.vagrantup.com/downloads.html
. Open up your terminal and use wget
command to download latest Vagrant RPM package eg:
$ wget -q https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.rpm
Once downloaded use yum
command to perform a local install of previously downloaded Vargrant package. The below command will also take care of any possible dependency resolution:
# yum localinstall vagrant_1.7.4_x86_64.rpm ============================================================================================== Package Arch Version Repository Size ============================================================================================== Installing: vagrant x86_64 1:1.7.4-1 /vagrant_1.7.4_x86_64 179 M Transaction Summary ============================================================================================== Install 1 Package Total size: 179 M Installed size: 179 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:vagrant-1.7.4-1.x86_64 1/1 Verifying : 1:vagrant-1.7.4-1.x86_64 1/1 Installed: vagrant.x86_64 1:1.7.4-1 Complete!
Some basic check:
# vagrant --version Vagrant 1.7.4
Your vagrant installation is now complete.