Re: Package naming conventions (?)

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Fri, 31 Dec 2021 22:46:28 UTC
On Fri, 31 Dec 2021, at 03:50, Ronald F. Guilmette wrote:
> (I am not aware of any easier way to generate such a list of the base names
> of all currently installed packages.  If I have just missed how to do that
> more easily, please let me know.)

Look through /usr/local/etc/pkg.conf for hidden gems.

I like ‘pkg prime-origins’ which lists the leaf package name without automatic derived dependencies:

www/firefox
ftp/curl

this is usually what I want to duplicate packages from box A on box B.

IIRC you can man pkg-query and even get json output these days.
Etc