On FreeBSD, software is usually installed in two ways: as ready-made binary packages from the repository, or compiled from the ports tree.
To search for binary packages, you can use the command "pkg search string"
or "pkg search -o string" in order to also see the category in which the port is located.
To search the ports tree, go to /usr/ports. Next, use the commands
"make search name=string" to search for complete information with dependencies,
or "make quicksearch name=string" for shortened output. Other keys can be used instead of name (path, info, www, key - replaces any key).
If the ports collection is already installed on the disk, you can use the command:
"whereis string".
Information about an already installed package can be obtained like this: "pkg info string".
No comments:
Post a Comment