How to list all packages in a given category?

Gautam Gopalakrishnan ggop at
Sun Dec 14 15:42:03 PST 2003

On Sun, Dec 14, 2003 at 03:27:47PM -0800, Chris Pressey wrote:
> Hi all,
> Apologies in advance if this is a stupid question, but I couldn't find
> anything relevant in the man pages or with Google:
> How can I list all the packages I have installed in a certain category?
> I'm thinking it should be something like 'pkg_info -C games', but AFAICT
> pkg_info doesn't have any such option like that.

pkg_info -o '*' | grep ^games


More information about the freebsd-questions mailing list