How Do You Install Vagrant on an AWS Instance of RedHat Linux?

Problem scenario
You are using a RHEL (RedHat Enterprise Linux) server in AWS.  You want to install Vagrant. What do you do?

Assume the root user by issuing this command: sudo su -
Run these commands:
yum -y install wget
cd /tmp
yum -y localinstall vagrant_1.8.1_x86_64.rpm

To verify the installation, run this command: vagrant version

Alternative Solution
If you do not want to install wget and curl commands will work for retrieving https locations, you can use this command instead of the wget command above:
curl > vagrant_1.8.1_x86_64.rpm 
# All the other commands besides the wget command will need to be issued.  In our experience installing wget is best for CentOS AWS instances.  For RHEL instances you will not need to install wget.

Leave a comment

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