Re:FreeBSD Myths
by jlgaddis on Saturday July 30, 2016 @11:45PM
(#12195653)
If 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):
You can install the ports tree by running:
[0]: http://www.freshports.org
[ Parent
| on HN ]
An alternative with less typing:
$ whereis foo
This will return the path to the relevant port if it exists.