RHEL7: How to install the EPEL repository.

Share this link


EPEL stands for Extra Packages for Enterprise Linux.
It’s a Fedora project bringing a set of additional packages available at least for RHEL 7 and CentOS 7.

There is a list of the available packages in the EPEL repository.

Installation Procedure

To install the EPEL repository, type:

# yum install epel-release

The EPEL7 repository consists of 3 different channels:

  • epel: this is the main channel; it is enabled by default,
  • epel-debuginfo: this channel provides packages with additional debug information; it is disabled by default,
  • epel-source: this channel brings source packages; it is disabled by default.

As the main repository configuration is located in the /etc/yum.repos.d/epel.repo file, there is also a /etc/yum.repos.d/epel-testing.repo file offering packages for testing.

Activation/Deactivation Procedure

To permanently enable a channel (use the –disable option to disable), type:

# yum-config-manager --enable channel

To only enable a channel during a package installation, type:

# yum --enablerepo=channel install package

Source: Red Hat developer blog.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Leave a Reply

Be the First to Comment!

Notify of

Upcoming Events (CET)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create a new user account called "bob" with password "redhat" and set expiration in one week.

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a fileio backstore of 100MB called /opt/shareddata with CHAP authentication (username=usr/password=pwd), xfs filesystem and standard firewall configuration.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...