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

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

You want to run:

$ dpkg --info <blah>.deb
link|improve this answer
feedback

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

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

Your Answer

 
or
required, but never shown

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