Unable to find a match epel-release centos/redhat

In this article, we will see solution for “Unable to find a match epel-release” on centos/redhat.

Unable to find a match epel-release centos/redhat

Solution: We have to enable

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

[root@localhost r2schools]# sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Updating Subscription Management repositories. Last metadata expiration check: 0:20:52 ago on Fri 25 Sep 2020 05:50:33 PM IST. epel-release-latest-8.noarch.rpm                        20 kB/s |  22 kB     00:01     Dependencies resolved. =======================================================================================  Package               Architecture    Version             Repository             Size ======================================================================================= Installing:  epel-release          noarch          8-8.el8             @commandline           22 k Transaction Summary ======================================================================================= Install  1 Package Total size: 22 k Installed size: 32 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction   Preparing        :                                                               1/1   Installing       : epel-release-8-8.el8.noarch                                   1/1   Running scriptlet: epel-release-8-8.el8.noarch                                   1/1   Verifying        : epel-release-8-8.el8.noarch                                   1/1 Installed products updated. Installed:   epel-release-8-8.el8.noarch                                                           Complete!