How to list non-official repositories enabled / non-official rpm packages installed?

How to determine if my system has any non-official repositories enabled?

Further, how to list non-official RPM packages installed?

1 Like

To list enabled repositories:

sudo dnf repolist

To list installed packages from a repository (repository ID, e.g. rpmfusion-free is outputted by the above command:

sudo dnf repository-packages rpmfusion-free list --installed
$ dnf repolist

repo id repo name
fedora Fedora 34 - x86_64
fedora-cisco-openh264 Fedora 34 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 34 - x86_64
google-chrome google-chrome
updates Fedora 34 - x86_64 - Updates
updates-modular Fedora Modular 34 - x86_64 - Updates

Is there a official page listing what Repos are came with Fedora (enabled or disabled by default) to compare with?

That is great! Now I know how to list packages installed from a specific Repo!

sudo dnf repolist --all

Above command will list all known repositories and whether they are enabled or disabled. There are fedora-repos and fedora-repos-modular packages which provide files that include repository definitions. To see what those files are, for example:

$ rpm -ql fedora-repos

Thank you very much!


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.