6

Given just a .deb file, how do I get the list of dependencies?

7

You want to run:

$ dpkg --info <blah>.deb
3

This should (among other things) list the "depends" section of the package description.

$ dpkg -p <package_name>
  • Except the OP wants the info out of a .deb file, not an installed package. – womble Jan 5 '10 at 22:06

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.