How to list all the installed packages...

Jan Henrik Sylvester me at
Fri Mar 27 02:13:08 PDT 2009

Alain G. Fabry wrote:
> On Fri, Mar 27, 2009 at 09:34:00AM +0100, Jan Henrik Sylvester wrote:
>> Olivier Nicole wrote:
>>> Is there a way to show a list of all installed packages that are not
>>> required by any other package?
>> cd /var/db/pkg/ ; for i in *-* ; do if [ ! -e $i/+REQUIRED_BY ] ; then 
>> echo $i ; fi ; done


>> If you want to be able to update ports quickly, you should keep the 
>> build dependencies. Doing "make pretty-print-build-depends-list" in a 
>> ports directory gives you the build dependencies.


> How about pkg_cutleaves

Is there anything about build dependencies in cutleaves?

I do not see it at a quick glance.

Jan Henrik

More information about the freebsd-questions mailing list