How To Install EPEL Repository (Repo) on an RHEL 8

How To Install EPEL Repository (Repo) on an RHEL 8

To install the Extra Packages for Enterprise Linux (EPEL) repository on Red Hat Enterprise Linux (RHEL) 8, follow these steps:

  1. Download the EPEL release package for RHEL 8 using the following command:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Source:‮‬www.lautturi.com
  1. Install the EPEL release package using the rpm command:
sudo rpm -Uvh epel-release-latest-8.noarch.rpm
  1. Once the installation is complete, you can verify that the EPEL repository is enabled by running the following command:
yum repolist

This will list all of the enabled repositories on your system. The EPEL repository should be listed among them.

  1. To install a package from the EPEL repository, you can use the yum command as you would with any other repository. For example:
yum install package-name
Created Time:2017-10-28 21:38:52  Author:lautturi