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 “”. 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 “”.

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.

    If you want to learn more about why we don’t distribute using RubyGems
    anymore, please read this:
    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.