Is it possible to use dnf (or another utility) to search repositories of different releases of Fedora?

For instance to search my current release for all versions of a package I can do dnf --showduplicates list <package name>. Is it possible to do something along the lines of:

dnf --showduplicates list [--fedora29] <package name>

Where the argument [--fedora29] can be used to specify the version of Fedora that I would like to search?

If this is not possible to do using dnf is there a different command line tool that I can use?


You can pass dnf a --releasever= argument to override the version.

For the particular command you gave as an example, use the following:

 dnf --releasever=29 --showduplicates list $pkgname

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.