-   Linux - Software (
-   -   Dependency tree drawing software? (

BuilderQ 11-12-2007 10:55 AM

Dependency tree drawing software?
Is there any software which will give me a graphical representation of the dependency relationships between all packages installed on my system? That would make it easier for me to optimize my system by pruning large branches that provided few applications.

pljvaldez 11-12-2007 01:55 PM

I don't know of a graphical software, but you might be able to write a script using dpkg --get-selections and apt-cache depends packagename, then count up then number of times each package appears on a line starting with "Depends:". Then you could probably use apt-cache whatdepends packagename on the earlier results and compare which packages are on your system.

kromberg 11-12-2007 02:52 PM

In the day of cheap disk space, I can not why this is an issue.


pljvaldez 11-12-2007 03:14 PM


Originally Posted by kromberg (Post 2956596)
In the day of cheap disk space, I can not why this is an issue.


Sometimes embedded devices require small disk space. Of course, from seeing "Xubuntu" in his profile, I'm guessing it's just an older machine he's tweaking with.

nx5000 11-13-2007 04:26 AM

Nice packages:

This is for debian, I have no clue for others.

epyonx1 12-06-2007 09:49 AM

Try GTK Orphan (deborphan, which was mentioned above, is one of its dependencies)

"gtkorphan is a graphical tool which scans your debian system, looking for
orphaned libraries. It implements a GUI front-end to deborphan, but adds the
package removal capability."

rickh 12-06-2007 10:02 AM

You might check out Debtree.

It's being developed for Debian, not the cheap imitations, but it may work on some of them anyway. As I understand your question, it does exactly what you want.

All times are GMT -5. The time now is 09:06 AM.