Install the EPEL repository
Check available repositories
You can see if the repositories that you need are installed and enabled by running the following command:
yum repolist
Some repositories are disabled by default. To list disabled repositories, run the following command:
yum repolist disabled
You install the EPEL repository by downloading the appropriate RPM package for your system and installing it. The following instructions use the 64-bit packages that work with 64bit Servers instances.
CentOS and Red Hat Enterprise Linux 5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5*.rpm OR sudo rpm -Uvh epel-release-5*.rpm
CentOS and Red Hat Enterprise Linux 6.x wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6*.rpm OR sudo rpm -Uvh epel-release-6*.rpm
CentOS and Red Hat Enterprise Linux 7.x wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm rpm -Uvh epel-release-7*.rpm OR sudo rpm -Uvh epel-release-7*.rpm
Or you can try this depending on your distro
yum install epel-release
Leave a Reply