dep-trace
    
            
                
                    gdeptrace dependancy solver correct for pkg or make deps
                
            
             
            
             
            
        
            gdeptrace  sorts  an  input dependancy list or table and prints it, and can do other actions.  It's default operation  is  to  act  like  tsort (1) except  that  it sorts by pure pkg / make dependancy (tsort sorts by grapical topology: see notes about differences).
EXAMPLE:
$ echo -e "b e\ne\nc b" | sort -k1,1 | gdeptrace [opts]
e
b
c
(b depends on e, c depends on b, e has no depends) 
(also: e has more items depending on it and is below anything it depends on; in this case the top, all and only by the rules known and given, in order by given where equal)
$ echo -e "b e\ne\nc b" | depsort
ditto, no opts needed
$ libdeps objdump /lib/*.so.*
(outputs if missing, load order (deps), rdeps, which are effected by missing lib/s, etc, see readme)
$ doil
(a package installer/solver like apt-get+dpkg which uses gdeptrace, see doil on Source Forge)
dep-trace is now "gdeptrace" to ease packaging compatibility