May 2009: Debian support and --console
July 2009: Now with an interactive GUI.

Original Initial sync of Arch thread. Github and --mode Debian support and --console Now with an interactive GUI. Package highlighting, better Debian speed, Red Hat support. Notes for packagers. Explanation and illustration of dependency chain compression. ipkg support Dark theme sample. Editable
version 3 & 4 of 12

 

 


A lightweight server.

My primary computer.

My old desktop.

It draws a pretty picture of your installed packages. Common uses include exploring dependency trees or finding hundreds of megs of useless packages

Sebastian Weigand (2009-05-25-18-24-03-055)

All hail, the mighty GLIBC!



 

To try it yourself, get the code, or install it from the AUR. It will Run pacgraph to generate an SVG. If Inkscape or imagemagick is installed it will also render a PNG. It might seem a little slow, but it's many times faster than Graphviz. Alternatively, run pacgraph-i to launch a simple tk GUI

Right now Arch is the only well supported distro, but writing new loaders is pretty easy. There is partial support for Debian.

Stuff supported from the command line:

Slow computer, or you want exact numbers? pacgraph --console

Want to make only an SVG, no PNG? pacgraph --svg Just want a quick summary? pacgraph --console

Custom colors? Each of these takes one color, such as

pacgraph -b "#808080" -l "#ffffff"

-b --background
-l --link
-t --top
-d --dep

Font size can be set with pacgraph -p 10 100 where the first number is the smallest point size, and the second is the largest.

 

Distro is chosen through -m / --mode. Current supported options are arch (which graphs your installed packages),arch-repo (which graphs every offical official package in the repositories) and debian (which parses dpkg output). Do not be alarmed if arch-repo takes a few minutes. Debian mode is pretty slow, because all the information is collected by running dpkg once for each installed app.

Kyle (2009-05-25-21-09-49-394)

Arch-repo has gotten a lot faster. It (--console) takes 20 seconds on on a 1GHz cpu.

Dkpg takes forever to report the details of a thousand packages. A typical Ubuntu installation might need five minutes.



 

 


Minimum dependencies for Gimp.

Arch-repo mode also lets you plot arbitrary app's dependency trees. To generate the example show, run pacgraph -m arch-repo gimp. You may specify multiple package names, to see how their dependencies overlap.

For more info, check out the beta's thread or the github page.