How to delete third party repo

I would like to completely remove a third party repo I added but no longer want. The only solution I have found so far is to disable the repo, but I want to completely remove it. In Ubuntu I would simply go to /etc/apt/sources… and delete. Under /etc/dnf/ its completely different. What is the equivalent in Fedora? Thanks

More or less the same.
The repository files are located here
/etc/yum.repos.d/

1 Like

Thanks, that seems to be it. Do you have any idea why they wouldn’t call it “dnf.repos.d” since yum was deprecated?

Probably a holdover from when yum was the tool in use. Dnf is merely yum with a lot of enhancements, thus the symlink in /usr/bin where yum points to dnf-3, and dnf is the same.

1 Like