Enable additional Epel, Remi, Atrpms repos on RHEL/CentOS Server

It is not a wonder that CentOS and other RHEL-like systems come up with standard list or repositories. The default repos don’t contain all required packages.

The common approach here is to enable the additional software storages to your RHEL-based system, such as Epel, Remi, Atrpms.

Epel (Extra Packages for Enterprise Linux):

RHEL/CentOS 7 64-Bit:

wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm

RHEL/CentOS 6 32/64-Bit

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm

RHEL/CentOS 5 32/64-Bit

wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm

noarch means that the package doesn’t depend on system architecture (x86_64 or i686).


This repo contains the latest versions of php and mysql. Requires on Epel.

RHEL/CentOS 7 32/64-Bit:

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm

RHEL/CentOS 6 32/64-Bit

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

RHEL/CentOS 5 32/64-Bit

wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5.rpm


Contains different software that might be useful
RHEL/CentOS 7 64-Bit:

wget http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm
rpm -Uvh atrpms-repo-6-7.el6.x86_64.rpm

RHEL/CentOS 7 64-Bit:

wget http://dl.atrpms.net/all/atrpms-repo-6-7.el6.i686.rpm
rpm -Uvh atrpms-repo-6-7.el6.x86_64.rpm

RHEL/CentOS 6 64-Bit

wget http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm
rpm -Uvh atrpms-repo-6-7.el6.x86_64.rpm

RHEL/CentOS 6 32-Bit

wget http://dl.atrpms.net/all/atrpms-repo-6-7.el6.i686.rpm
rpm -Uvh atrpms-repo-6-7.el6.x86_64.rpm

RHEL/CentOS 5 64-Bit

wget http://dl.atrpms.net/all/atrpms-repo-5-7.el5.x86_64.rpm
rpm -Uvh atrpms-repo-5-7.el5.x86_64.rpm

RHEL/CentOS 5 32-Bit

wget http://dl.atrpms.net/all/atrpms-repo-5-7.el5.i386.rpm
rpm -Uvh atrpms-repo-5-7.el5.i386.rpm


RHEL/CentOS 6 64-Bit:

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

RHEL/CentOS 6 32-Bit:

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

RHEL/CentOS 5 64-Bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

RHEL/CentOS 5 32-Bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

In order to enable the repositories from the above, you’ll need to manually edit (one of?) the following files:

  • /etc/yum.repos.d/epel.repo
  • /etc/yum.repos.d/remi.repo
  • /etc/yum.repos.d/atrpms.repo
  • /etc/yum.repos.d/rpmforge.repo

The value of the “ENABLED” determines if repo is on (1) or off (0)

It is recommended to disable the repositories that are not in use, if you are running RedHat


Share Button

Leave a Reply

You must be logged in to post a comment.