1
----
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
yum repolist
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
---