RPM Dependency Graph
Lomby writes "Following the spirit of the kernel schematics poster, I wrote a script that generates a diagram that depicts the rpm packages installed in your system, along with their dependencies.
You can find more details and a download link at freshmeat."
Check out the postscript file and zoom in. You'll see the labelled dots and the direction of arrows indicating dependence on or dependency.
They are all labeled, you numb nuts. Zoom in.
man apt-cache
/var/cache/apt/archives
cd
apt-cache dotty *
google "i'm feeling lucky" on graphviz, and voila!
I have a feeling someone is working on packaging graphviz, but there was problems with true-type fonts....
Or in 5 seconds, using checkinstall:
http://freshmeat.net/projects/checkinstall
The above is non-graphical and apt-cache dotty * would return errors in some case. I made a little modification to make a full graph out of it:
apt-get install graphviz
apt-cache dotty `dpkg --get-selections | grep -v deinstall | cut -f 1` | dotty -
WARNING: it would take a lot of time. You may try `apt-cache dotty ssh | dotty -` just to see a simpler graph.
- builds your choice of a
.deb or .rpm or Slackware package, - installs it,
- saves it in (e.g.)
/usr/src/packages/RPMS/<arch>, - saves a
.tgz of the sources in (e.g.) /usr/src/packages/SOURCES/.
It has served me quite well -- except the version I'm using (1.5.1) makes empty(*) or else 'checkinstall your-install-script'
Timeo idiotikOS et dona ferentes
I have written a small tcl script (called pkgusage) that lists all your installed packages (RPMs or DEBs) together with the number of days ago you last accessed any of the files in each package. Thus, if you do "pkgusage.tcl | sort -n", packages which you seldom / never use will be at the end of the list.
It also checks dependencies between packages, so it won't tell you to uninstall a package that something else depends on.
If you are interested, get it here.
Installed the Bubblemon yet?