Packages currently available for FreeBSD 10: http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/
See also Freshports: http://www.freshports.org
Is there a cli tool to browse that, or do you have to go to the web?
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):
$ make -C /usr/ports search key=foo
You can install the ports tree by running: # portsnap fetch extract
[0]: http://www.freshports.orgAn alternative with less typing:
$ whereis foo
This will return the path to the relevant port if it exists.Thanks. I'm a deb/ubu bloke, but always curious as to the details of other package management systems.
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.
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.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.
Wide? You sure? Suspend/resume is broken for a lot of hardware configs.
I tried to install FreeBSD 10.3 on a new Skylake laptop. Resume doesn't work, so I asked on the forum. The answer? A stupid joke and nothing more. Are all FreeBSD users like this?
Same with drivers - sure, BSD supports "wide range" of hardware. However, unless you are very skilled in hardware specs, there's no way for you to know whether your card that you just bought in the store/on amazon is in this range. This is the problem that bothers people - that their card would not be supported, not the global number of supported cards.
Same for binary packages - it's nice that it has binary packaging tools, but how I know the software I want will be available in package form? E.g. on Linux I can look into Redhat or Debian package repos and see what they ship, or see download page of any major software vendor and look for "Download for Linux" button - but while I see a lot of DEB/RPM/APT/YUM distribution instructions, I rarely see any BSD instructions.