Enable EPEL Repository on RHEL9
Enable EPEL Repository on RHEL 9 #
The EPEL repository provides packages that are not included in the standard RHEL repositories, such as htop and vim for example.
Prerequisites #
Before installing EPEL, you need to enable the CodeReady Builder repository, which provides dependencies for many EPEL packages.
Installation Steps #
Enable codeready builder repository #
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
Install epel-release #
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Verification #
After installation, you can verify that EPEL is enabled by listing available repositories: