How to Install EPEL Repository on CentOS and RHEL 7

The EPEL (Extra Packages for Enterprise Linux) repository provides additional software packages not included in CentOS or RHEL by default. Here's how to install it.

Installing EPEL Repository on CentOS and RHEL 7

Before installing EPEL, update your system to ensure compatibility. Run the following command in your terminal: sudo yum update This keeps your system up to date.

Step 1: Update Your System

To install the EPEL repository, use this command: sudo yum install epel-release This fetches and installs the EPEL repo package on your system.

Step 2: Install EPEL Repository

Once installed, enable EPEL by typing: sudo yum-config-manager --enable epel This ensures the repository is active and ready for use.

Step 3: Enable EPEL Repository

To verify that EPEL is installed and working, use: sudo yum repolist You should see "epel" in the list of available repositories.

Step 4: Verify Installation

Installing EPEL on CentOS or RHEL gives you access to a wider range of software. For more tutorials, visit Unixmen.com and explore!

Expand Your Software Options with EPEL