PDA

View Full Version : [ubuntu] Getting dependencies of a .deb package



Anupama
June 1st, 2008, 11:52 PM
Hi, I am working on a secure installer and implementing it on debian.
For this, I need to find the dependencies of a package (already installed or uninstalled) offline, I cant intercept the functioning of apt-get.

Is there such a functionality available?

What build-dep does is something different I figured out.

Thanks for your help in advance.

Partyboi2
June 2nd, 2008, 09:49 AM
Couldn't you use Synaptic and select the package you are wanting to know the dependencies and then click on "Properties" then "Dependencies"

xerxesdaphat
June 2nd, 2008, 11:46 AM
Couldn't you use Synaptic and select the package you are wanting to know the dependencies and then click on "Properties" then "Dependencies"

Because a) he's not necessarily dealing with things in apt-get, he's dealing with any random deb package; and b) he's writing a piece of software, he needs proper output, not some frilly POS GUI.

Anupama
June 2nd, 2008, 08:22 PM
a) he's not necessarily dealing

she's


Because a) he's not necessarily dealing with things in apt-get, he's dealing with any random deb package; and b) he's writing a piece of software, he needs proper output, not some frilly POS GUI.

Ya right. I figured out apt-cache depends pkg-name is what i need.

But thanks for your help.