News for hackers. Stuff that matters.
Re:FreeBSD Myths by Sanddancer on Sunday July 31, 2016 @01:49AM (#12195895)
In addition to searching through ports, pkg-ng has a really nice search command. pkg search $string will search through the pkg database for matching strings.
Re:FreeBSD Myths by tobik on Sunday July 31, 2016 @05:32AM (#12196267)
You can also display a list of all packages in the repository with

    pkg search -g '*' | less
Better pipe it to less because there are over 25000 packages.
Re:FreeBSD Myths by jrapdx3 on Sunday July 31, 2016 @04:24AM (#12196160)
Yes, "pkg search <pkg name>" generates list of available matching packages. "pkg search -f <pkg name>" will give salient pkg info in a multi-line format. Use "pkg help search" to pull up the man page for "pkg search" with all the gory option details. "pkg help" shows a list of available pkg commands.

"pkg" has become a very useful, reliable tool.