#!/bin/bash yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm #if this doesn't work, use yum install epel-release