To install EPEL repository on any CentOS, AlmaLinux or Rocky Linux, log in to your server instance with SSH as root user and run the commands as explained below:
Run: dnf install epel-release
(You should see the below)
How Do I Enable The EPEL Repo?
Note: The EPEL configuration file is located under /etc/yum.repos.d/epel.repo
Run: nano /etc/yum.repos.d/epel.repo
Make sure under [epel]: enabled=1
If Not, Change It, Save & Exit.
That's It.
You're Finished!
Wasn't that Quick & Simple.
KB Article Updated: 2021 June 25