On Fedora, I can get a list of packages another package depends on, with the following command:

dnf repoquery --requires --resolve <package>

But I'd like to have the opposite of that.

I.e. listing all packages, the package that I'm querying for depend on.

If possible, either for only installed packages, and perhaps for all packages in my repos.


could be dnf repoquery --alldeps --whatrequires to get the reverse dependencies

  • 2
    that and --installed instead of --alldeps, thanks! – polemon Jul 1 '17 at 2:14

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.