Date: Thu, 26 Mar 2009 22:08:01 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: Olivier Nicole <on@cs.ait.ac.th> Cc: freebsd-questions@freebsd.org Subject: Re: How to list all the installed packages... Message-ID: <4ad871310903261908h1bba0b1fq3d96f19ed52a9fc8@mail.gmail.com> In-Reply-To: <200903270205.n2R254v0003403@banyan.cs.ait.ac.th> References: <200903270205.n2R254v0003403@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 26, 2009 at 10:05 PM, Olivier Nicole <on@cs.ait.ac.th> wrote: > Hi, > > Is there a way to show a list of all installed packages that are not > required by any other package? > > Some thing like "pkg_info -aR" where the Required by: field is empty. > > Ultimately, that would give a list of "software" versus "libraries". > > The question arise because, while installing a new machine, I found > out that I have help2man installed, that is not required by any other > package, that I did not install myself, that looks unneeded to me > (until I may need it one day). So I would remove it; and would like to > make a list of what is removable (that I did not install, and that is > not required). > Have a look at the ports-mgmt/pkg_cutleaves port. -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310903261908h1bba0b1fq3d96f19ed52a9fc8>