packages listing
Nikos Vassiliadis
nvass at gmx.com
Sun Feb 10 12:21:40 UTC 2013
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
More information about the freebsd-questions
mailing list