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

2 Answers 2


You want to run:

$ dpkg --info <blah>.deb

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, 2010 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.