3 ms·
Is there a cli tool to browse that, or do you have to go to the web?
by vacri 10y ago
Is there a cli tool to browse that, or do you have to go to the web?
- jlgaddis 10y agoIf you have the ports tree [0] installed, you can browse through /usr/ports. There's a subdirectory in there for each port, named "category/port". You can search the ports tree using (replace foo with your search term): $ make -C /usr/ports search key=foo You can install the ports tree by running: # portsnap fetch extract [0]: http://www.freshports.org http://www.freshports.org
- Sanddancer 10y agoIn 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.
- jrapdx3 10y agoYes, "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.
- tobik 10y agoYou 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.