Show dependency graph.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 12 Aug 2015 16:38:06 +0300
changeset 1730 fc588b9ae857
parent 1729 22ffd80639c0
child 1731 e7892a2f6ba9
Show dependency graph.
debian-apt.rst
--- a/debian-apt.rst	Wed Aug 05 23:55:34 2015 +0300
+++ b/debian-apt.rst	Wed Aug 12 16:38:06 2015 +0300
@@ -157,3 +157,16 @@
   $ netselect-apt experimental
   $ netselect-apt sid
 
+Show dependency graph.
+======================
+::
+
+  $ apt-cache dotty $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
+
+  $ sudo apt-get install debtree
+  $ debtree $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
+
+  $ sudo apt-get install apt-rdepends
+  $ apt-rdepends $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
+  $ apt-rdepends -d $PKG | dot -Tsvg >$PKG.svg && see $PKG.svg
+