Date: Fri, 10 Nov 2017 06:57:37 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Olivier <Olivier.Nicole@cs.ait.ac.th> Cc: questions@freebsd.org Subject: Re: Find ports that are not in the requeirement of others Message-ID: <20171110055737.GA30695@slackbox.erewhon.home> In-Reply-To: <wu77euyg7qu.fsf@banyan.cs.ait.ac.th> References: <wu77euyg7qu.fsf@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 10, 2017 at 09:58:17AM +0700, Olivier wrote: > Hi, > > After a couple of years runnig and using one single machine, installing > some ports for testing, etc. I end up with hundred of ports and > packages, especially libraries that I never use directly, so am not > really aware of. > > Is there an incantation of pkg(8) that can list all the ports that are a > leaf in the tree of the installed ports. >From pkg-query(8): pkg query -e '%#r = 0' %o Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171110055737.GA30695>