How to Set Up EPEL Repository

Home / How to Set Up EPEL Repository

How to Set Up EPEL Repository

December 9, 2015 | Article | 1 Comment

EPEL, Extra Packages for Enterprise Linux, a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL). The project was started because many Fedora contributors wanted to use the Fedora packages they maintain on Red Hat Enterprise Linux (RHEL) and its compatible derivatives.

The configuration of EPEL is not so difficult. Here in this article we will try to do it.

Configuring EPEL is strongly recommended if you are using RHEL or its derivatives (CentOS, Fedora, Scientific Linux, etc). Once you set up EPEL repository, you can use yum command to install any of close to 7,000 EPEL packages.

In this article, we will use CentOS 6.3 as example machine.

Installation

In order to enable EPEL repository on your CentOS system, you need to check CentOS version. Though we said earlier that we use CentOS 6.3, you can also check your CentOS version by running the following command.

cat /etc/redhat-release

The configuration would depend on your version.

For CentOS 6.*:

sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

For CentOS 5.*:

sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/5/i386/epel-release-5-4.noarch.rpm

Verification

To verify that EPEL yum repository has been set up successfully, run the following command to list all available repositories on your system.

yum repolist

And you should see the list like this:

repo id            repo name                                              status
base               CentOS-6 - Base                                        4,776
epel               Extra Packages for Enterprise Linux 6 - i386           6,913
extras             CentOS-6 - Extras                                         17
updates            CentOS-6 - Updates                                       960
repolist: 12,666

And you have done it.

,

About Author

about author

xathrya

A man who is obsessed to low level technology.

1 Comment
  1. How to View or Edit PDF/Image Metadata from Command Line - Xathrya.ID

    […] install ExifTool on CentOS or RHEL, first you need to set up EPEL repository, and then run the […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial