All Linux HowTo's

Install Vagrant on CentOS 7 and RHEL

This article demonstrates how to install Vagrant on CentOS 7 and RHEL.

Note that as of recently, Vagrant is installed differently. Download it for your OS here “https://www.vagrantup.com/downloads.html”. The following is only if you want to do it the old way.

sudo yum install ruby
sudo gem install vagrant

Find where Vagrant is installed:

which vagrant

And now test Vagrant:

vagrant up

This information was gathered in part from “https://www.godaddy.com/garage/tech/config/install-vagrant-centos7/”.

Similar Posts:

One comment

  1. # sudo gem install vagrant
    Fetching: vagrant-1.5.0.gem (100%)
    Thanks for wanting to use Vagrant! Unfortunately, this is not the way
    to install Vagrant anymore. We now make installers for the various operating
    systems Vagrant supports.

    Vagrant is no longer distributed as a RubyGem. Please download the latest
    version for your operating system from the URL below. If you still wish
    to use the RubyGem version, you can manually install version 1.0.7. Note that
    the RubyGem version hasn’t been updated in over a year and will no longer
    receive any updates.

    Prior to installing Vagrant using the installer, make sure you uninstall
    all your Vagrant gems, since they sometimes conflict.

    http://www.vagrantup.com

    If you want to learn more about why we don’t distribute using RubyGems
    anymore, please read this: http://mitchellh.com/abandoning-rubygems
    Successfully installed vagrant-1.5.0
    1 gem installed

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.