pkg_search
—
print information about a package
pkg_search |
[-h | -k |
-r | -v ]
package |
pkg_search
querys the appropriate database file on
FreeBSD and NetBSD for a given package name. If
pkg_search
cannot find an INDEX file on FreeBSD or an
INDEX file on NetBSD, it tries to fetch the file on FreeBSD or a
pkg_summary(5)
file on NetBSD.
The options are as follows:
-h
- Print short usage information.
-i
- Print verbose information (Ports directory, URL, dependencies)
-k
- Also query the Info and WWW field.
-r
- Print the directory within the Ports Collection where the port lives.
- package
- Required package package.
The following is an example of a typical usage of the
pkg_search
command:
pkg_search -v fvwm
pkg_search
was written by Matthias
Schmidt ⟨matthias@dragonflybsd.org⟩.