Oct 20, 2018

How to install RHEL EPEL Repo in Centos

Fedora EPEL repos, and the famillecollet.com remi package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL, rdp.

EPEL For CentOS 7
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/7Server/x86_64/e/epel-release-7-9.noarch.rpm

For remi:

sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

You can see some additional repo definitions under the /etc/yum.repos.d directory.

You can enable the repos by editing for example:

sudo vim /etc/yum.repos.d/remi.repo

See also