Garbage collection of installed packages

Geert Hendrickx geert.hendrickx at
Mon Apr 26 04:30:52 PDT 2004

I use this script to find packages which are NOT dependencies of other

cd /var/db/pkg
for i in * ; do [ -e ${i}/+REQUIRED_BY ] || echo ${i} ; done

This way you also see the packages which you installed expicitly (most
of them are not depended on by other packages either), but I suppose
you know/recognize those.  


More information about the freebsd-questions mailing list