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
5 Likes
$ 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!

2 Likes
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
/etc/yum.repos.d
/etc/yum.repos.d/fedora-cisco-openh264.repo
/etc/yum.repos.d/fedora-updates-testing.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora.repo
2 Likes

Thank you very much!

2 Likes

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