Install EPEL Repo CentOS 8.x
In this article you will learn how to enable and install EPEL repo on CentOS 8.x and Red Hat Enterprise Linux
What is EPEL repository
EPEL (Extra Packages for Enterprise Linux) free and open source community supported project. EPEL repository is a collection of high-quality add-on packages that complement the Fedora based Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux.
Install EPEL on CentOS 7.x
Install EPEL on CentOS 6.x
RHEL/CentOS 8.x EPEL repo install
Method 1:
Log in as root user in to an your CentOS 8.x system using SSH and run:
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
In CentOS 8 also recommended enable PowerTools repository:
# dnf config-manager --set-enabled PowerTools
On RHEL 8 required also enable the codeready-builder-for-rhel-8-*-rpms repository:
# ARCH=$( /bin/arch ) # subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
Example output:
Method 2:
Install epel-release by using dnf install:
# dnf install epel-release -y