2

Reading the documentation for DNF, it is unclear to me how one even lists the required dependencies of a package (NOTE: NOT my question, my question is the title).

So what I'm wondering is, how would one go about listing the packages that needs installing to install package foo?

Meaning, I want to be able to query the package manager and be provided the same information that is displayed when user does dnf install foo, where it lists the packages it will install alongside foo - but I want to be able to do it without actually running the install command (because the context constrains me from doing so, I just need this metadata).

Would greatly appreciate any input to this.

Simon Farre
  • 71
  • 1
  • 6

0 Answers0