apt-rdepends is another interesting Debian utility that allows you to recursively list all the dependencies of a binary package or build dependencies for source code packages.
The only thing that is required for the program for fruitful work is the full Debian repository specified in sources.list and the updated cache of packages of this repository.
You can use the program simply by passing the package name as a parameter to it, or by substituting some parameters. For example: ')
apt-rdepends kde4 - a recursive list of dependencies of the kde4 package will be displayed in the format “package: dependency (version)”
apt-rdepends -s = Depends kde4 - just a list of all direct dependencies of the package, no versions. In theory, it is also possible to substitute Recommends or other dependencies to the place of Depends, but in my version of apt-rdepends this does not work for some reason.
apt-rdepends -b kde4 is a list of package build dependencies.
apt-rdepends -r kde4 is a list of Reverse dependencies, that is, packages dependent on this package.
Additionally, you can use the parameter "--option =" - for the task options APT
Actually the main program options on this end. the truth is, there are more parameters to display the list of dependencies in a format suitable for reading by the springgraph (-d) and xvcg (-v) programs.