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

-5%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 1024 Windows

12.1 /mo

/mo

Billed annually

-10%

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 32768 Linux

96.8 /mo

/mo

Billed annually

-9.4%

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 32768 Windows

102.8 /mo

/mo

Billed annually

-9.2%

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

72 /mo

/mo

Billed annually

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 32768
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-24.4%

CPU
CPU
2 Xeon Cores
RAM
RAM
1 GB
Space
Space
20 GB SSD
Bandwidth
Bandwidth
300 GB
KVM-SSD 1024 HK Linux

13 /mo

/mo

Billed annually

-4.5%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 4096 Windows

17.12 /mo

/mo

Billed annually

-8.1%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 8192 Windows

31.9 /mo

/mo

Billed annually

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 16384
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-10%

CPU
CPU
10 Xeon Cores
RAM
RAM
64 GB
Space
Space
300 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 65536 Linux

181.5 /mo

/mo

Billed annually

Other articles on this topic

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.