How to install EPEL repo on CentOS / Red Hat

EPEL stands for Extra Packages for Enterprise Linux, and it’s free and open source repo provided by Fedora.

EPEL grants you access to a wide range of free and popular software packages that standard RHEL repos doesn’t contain.

To install EPEL on RHEL 8 run following command:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Installed

After installation it would be a good idea to update system by running following:

sudo dnf update

At last, to confirm EPEL installation run:

sudo rpm -qa | grep epel

That’s it, enjoy discovering new repo.

Disclaimer