RHEL EPEL Repo on CentOS 5.x or 6.x


Installing RHEL EPEL Repo on CentOS 5.x or 6.x

This article describes how to configure CentOS 5.x-based or CentOS 6.x-based system to use Fedora Epel repos and third party remi package repos.

Note: These repositories are not officially supported by CentOS. But they provide updated version of applications like PHP, MySQL etc

Install the repositories

CentOS 5.x

CentOS 6.x

Once installed there will be additional repo definitions at /etc/yum.repos.d directory

Enable the remi repository

The remi repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services.

  1. Open /etc/yum.repos.d/remi.repo using a text editor
  2. Edit the [remi] portion of the file so that the enabled option is set to 1. This will enable the remi repository.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.