debtree — package dependency graphs on steroids

Introduction

Example: debconf

  1. Graph from apt-cache (for comparison)
  2. Basic graph (only hard dependencies and conflicts)
  3. Basic graph with Recommends
  4. Basic graph with Recommends and Suggests
  5. Basic graph with Recommends and showing alternatives
  6. Default graph (showing Recommends, alternatives and versions)
  7. Default graph with Suggests
  8. Default graph with Suggests and versioned Conflicts
  9. Default graph (rotated)

Suggested packages are indicated using dotted arrows.

Note that the dependencies for perl are not displayed (again to limit size and clutter); this is indicated by its shape.

$ debtree --with-suggests --no-alternatives --no-versions debconf


Dependency graph for debconf
Generated .dot file: DOT
Full-sized images: PS | PNG | SVG

Equivalent graph for aptitude