LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dependency tree drawing software? (https://www.linuxquestions.org/questions/linux-software-2/dependency-tree-drawing-software-599069/)

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.

Keith

pljvaldez 11-12-2007 03:14 PM

Quote:

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

Keith

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

http://www.linuxquestions.org/questi...ckagea-423374/

Nice packages:
deborphan
debfoster

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)

Description:
"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 01:24 AM.