Last Updated on
Insight: How To Enable EPEL Repository On CentOS 8 / RHEL 8
In this tutorial, we will show you the process to enable EPEL repository on CentOS 8 and RHEL 8.
Tutorial To Enable EPEL Repository On CentOS 8 / RHEL 8
Run the following command to enable EPEL repo. You need to install EPEL repository configuration rpm.
For CentOS 8
Run the following command in CentOS 8 to enable EPEL repository.
yum install -y epel-release
For RHEL 8
Run the following command in RHEL 8 to enable EPEL by installing EPEL repo configuration rpm.
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Meanwhile, you might need to enable Code ready builder repository on RHEL 8.
subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
To list out the available EPEL repository, run the following command
Run the following command to list available packages on EPEL repository.
yum list available --disablerepo=* --enablerepo=epel
How To Install Packages from EPEL Repository
Run the following command to install a package from EPEL repository.
yum install xrdp