Date: Sun, 10 Feb 2013 14:21:24 +0200 From: Nikos Vassiliadis <nvass@gmx.com> To: Polytropon <freebsd@edvax.de> Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: packages listing Message-ID: <511790C4.4070605@gmx.com> In-Reply-To: <20130210075713.e95310af.freebsd@edvax.de> References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/10/2013 8:57 AM, Polytropon wrote: > On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote: >> Hi Everybody, >> >> Do you have any idea how can I list those installed packages >> that are not required by any other? > > You can use sysutils/pkg_cutleaves to determine those. > > I use this: #!/bin/sh pkg_info -R '*' | sed -n ' /^Information for /{ N N /Required by:/d s/^Information for \(.*\):\n\n$/\1/p } ' HTH, Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511790C4.4070605>