EPEL: Installing and Using Extra Linux Packages

watch 2m, 18s
views 2

09:35, 17.09.2025

Article Content
arrow

  • Understanding the EPEL Repository (Repo)
  • Steps to Install the EPEL Repository on CentOS Linux and RHEL 7.x
  • Guide to Adding the EPEL Repo on CentOS and RHEL 7.x
  • Method 1: Recommended Approach for Installing the EPEL Repository Configuration
  • Method 2: Installing EPEL Repositories Directly from dl.fedoraproject.org
  • Viewing the List of Installed Repositories
  • Searching for and Installing Packages
  • Example: Using the EPEL Repo to Search and Install the "htop" Package on CentOS/RHEL 7.x
  • Summary and Key Takeaways

Understanding the EPEL Repository (Repo)

The Extra Packages for Enterprise Linux (EPEL) repository is a valuable resource for Linux users, providing access to a wide range of additional software packages not included in the default setup.

The EPEL repository is maintained by the Fedora Project and designed for Enterprise Linux distributions such as CentOS and Red Hat Enterprise Linux (RHEL). It offers a curated selection of open-source software packages to enhance system functionality while ensuring its stability.

Steps to Install the EPEL Repository on CentOS Linux and RHEL 7.x

Adding the EPEL repository to your system is a straightforward process. Here’s how to do it step by step.

Here’s how you can install the EPEL repository on your system:

  1. Open a shell prompt or login to a server1 host using ssh client. Run su -  or sudo -i to access root privileges.
  2. Update CentOS/RHEL repositories by running yum update.
  3. Install EPEL repository using yum -y install epel-release.
  4. Update the EPEL repo by typing yum repolist.
  5. Install packages from the EPEL repo: yum install pkg1.

Guide to Adding the EPEL Repo on CentOS and RHEL 7.x

Method 1: Recommended Approach for Installing the EPEL Repository Configuration

  1. Ensure your system is up to date by running: sudo yum update

  2. Install the EPEL repository using the yum package manager:
    sudo yum install epel-release
  3. Verify that the EPEL repository has been added successfully:
    yum repolist

Method 2: Installing EPEL Repositories Directly from dl.fedoraproject.org

  1. Download the EPEL RPM package for your system version:
    sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  2. Check if the EPEL repository is active:yum repolist

Viewing the List of Installed Repositories

To see a list of all configured repositories on your system, use the following command:

sudo yum repolist all

This will display both enabled and disabled repositories, giving you a clear overview of your system's package sources.

Searching for and Installing Packages

With the EPEL repository installed, you can search for and install additional software packages as needed. Use the following commands to manage packages efficiently.

To list all available packages under a repo called epel, enter:

$ sudo yum --disablerepo="" --enablerepo="epel" list available

Example: Using the EPEL Repo to Search and Install the "htop" Package on CentOS/RHEL 7.x

  1. Search for the package in the repository: yum search htop

  2. Install the package:
    sudo yum install htop
  3. Verify the installation by running the program:
    htop

Summary and Key Takeaways

The EPEL repository is a powerful tool for expanding the software options available on CentOS and RHEL systems. By understanding how to install and use this repository, you can:

  • Access a broader range of software packages.
  • Enhance system functionality.
  • Maintain the stability and reliability of your Linux environment.

Whether you're a seasoned Linux administrator or a beginner, leveraging the EPEL repository can simplify software management and improve your overall experience.

Share

Was this article helpful to you?

VPS popular offers

-7.9%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 8192 Windows

25.92 /mo

/mo

Billed annually

-12.8%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
1 TB
wKVM-SSD 1024 Metered Windows

17 /mo

/mo

Billed annually

-10%

CPU
CPU
2 Epyc Cores
RAM
RAM
1 GB
Space
Space
10 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 1024 Linux

7.2 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 16384 Linux

231 /mo

/mo

Billed annually

-7.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 4096 Windows

23.1 /mo

/mo

Billed annually

-15%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
80 Mbps
DDoS Protected SSD-wKVM 8192 Windows

101 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
400 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 16384 Linux

50 /mo

/mo

Billed annually

-15.5%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
80 Mbps
DDoS Protected SSD-KVM 8192 Linux

95 /mo

/mo

Billed annually

-5.9%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 2048 Windows

14.8 /mo

/mo

Billed annually

-29.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
2 TB
KVM-SSD 2048 Metered Linux

17 /mo

/mo

Billed annually

Other articles on this topic

What are firewalls
What are firewalls
cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.