To install the EPEL repository on CentOS 8, all you have to do is run the following command:
sudo dnf install epel-release
There’s no priorities package as there is on CentOS 7 and earlier, so we won’t have to worry about configuring the repository priorities.
When the package installation is complete, create a list of available software packages with the following commands:
sudo dnf upgrade sudo dnf list > dnf_list.txt