Benjamin Esham wrote:
> Hello all,
> 
> I’m trying to "tidy up" my Fink installation by removing packages that I
> don’t need.  After thinking about this, I realized that there are two
> general categories of Fink packages:

> I guess my point in writing all of this is to ask: is there any way to
> determine which of my packages are applications and which are libraries?
> Such a thing would not only aid in cleaning up messy Fink installations, but
> it would also provide a list of "the things you can install with Fink." 

You can also use "apt-cache dotty <pkgname(s)>" to get a graphical 
outlook of what you have installed.  Presumably, every node that is an 
end point is an 'application' (or an orphaned lib) according to your 
definintion.  It'll also let you see really quickly if a package that 
the useless application you are removing requires is needed by anything 
else or can be removed as well.

The following script should give you a space separated list of installed 
   packages that will then be fed into apt-cache dotty:

apt-cache dotty -o APT::Cache::GivenOnly=true `fink list -i | cut -f 2 | 
xargs echo` > packages.dot

You can the use graphviz to look at the dotty file and pick out box 
packages that have no arrows pointing AT them.

Hanspeter


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to