- Debian Admin - http://www.debianadmin.com -
Recursively lists package dependencies Using apt-rdepends
Posted By Admin On 29th December 2006 @ 08:02 In Package Mgmt | 1 Comment
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
By default, apt-rdepends shows a listing of each dependency a package has.It will also look at each of these fulfilling packages, and recursively lists their dependencies.
Install apt-rdepends in Debian
#apt-get install apt-rdepends
Install apt-rdepends in Ubuntu
sudo apt-get install apt-rdepends
This will complete the installation
apt-rdepends Syntax
apt-rdepends [options] [pkgs …]
Examples
# apt-rdepends bash
Output looks like below
Reading package lists… Done
Building dependency tree… Done
bash
Depends: base-files (>= 2.1.12)
Depends: debianutils (>= 2.15)
PreDepends: libc6 (>= 2.3.6-6)
PreDepends: libncurses5 (>= 5.4-5)
base-files
Depends: awk
Depends: base-passwd (>= 2.0.3.4)
# apt-rdepends -d bash
Output Looks like below
Reading package lists… Done
Building dependency tree… Done
digraph packages {
concentrate=true;
size=”30,40″;
“bash” [shape=box];
“bash” -> “base-files”;
“bash” -> “debianutils”;
“bash” -> “libc6″[color=blue];
“bash” -> “libncurses5″[color=blue];
}
If you want more available options check apt-rdepends man page
You may also be interested in...
Article printed from Debian Admin: http://www.debianadmin.com
URL to article: http://www.debianadmin.com/recursively-lists-package-dependencies-using-apt-rdepends.html
Click here to print.