EPEL stands for Extra Packages for Enterprise Linux and is the most important external package source for RHEL and CentOS users. EPEL is so important because Red Hat traditionally delivers/maintains far fewer packages than Debian or Ubuntu, for example. RHEL / CentOS users who also need additional software packages therefore usually set up the EPEL package source.
Here we let you know the single command that can install and enable the EPEL repository on Rocky Linux.
Open Terminal and Run update command-
sudo dnf update
Install and Enable Epel Repo on Rocky Linux 8
sudo dnf install epel-release
That’s it, here is the screenshot.
To confirm the repo is there:
sudo dnf repolist
Vim /etc/sudores
Use dnf instead of yum