Can't install EPEL on Fedora

Evey time I try

sudo yum install epel-release-latest-9.noarch.rpm

I get

Last metadata expiration check: 0:22:56 ago on Sat 24 Jun 2023 12:32:25 AM EDT.
 Problem: conflicting requests
  - nothing provides redhat-release >= 9 needed by epel-release-9-5.el9.noarch
(try to add '--skip-broken' to skip uninstallable packages)

I don’t have more to say don’t know what could be wrong

How about which distro you’re doing this on?

EPEL is for RHEL-based or RHEL-compatible distros.


Well I believed that was definitive but if you need to know:

Fedora (38)

You cannot use epel with fedora and do not need to.

Almost all, if not all packages, in epel are already in fedora.

If you must the test against an epel package then i would suggest
you install a VM running rhel or one its clones to do the testing.