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 (2 votes, average: 1.00 out of 5)

Leave a Reply

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 8 minutes.
Find all files bigger than 100MB and write their names into the /root/results.txt file.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria and create a table named people with two columns respectively name varchar(20) and age int(10) unsigned.

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 ...