Joaquin Peralta

My Personal weblog.

Plot Debian Packages Dependences.

This is a little and ‘beauty’ tip for plot the dependences of a debian package. This require the springgraph package, install using :

apt-get install springgraph

After this, obtain a png image graphic of a pacakge using :

apt-cache dotty package-name > output.dot

springgraph < output.dot > output.png

Use for example, the make package :

apt-cache dotty make > output.dot

springgraph < output.dot > make.png

and see the file make.png :)

IMPORTANT : If you use this with package with very high level of dependences, this can take a lot of time.

JP.

February 5, 2007 Posted by jperalta | GNU/Linux | | No Comments Yet