PKG-SEARCH(8)

NAME
pkg search - searches in remote package repositories

SYNOPSIS
pkg search pkg-name
pkg search [-fDsqop] pkg-name
pkg search [-gexXcdfDsqop] pattern

DESCRIPTION
pkg search is used for searching in the remote package repositories and it displays the requested information for the matching packages.

pkg search will search for the given pattern in the remote package repositories, which are defined in the pkg.conf(5) file.

OPTIONS
The following options are supported by pkg search:

-e  Treat pattern as exact pattern

-g  Treat pattern as a shell glob pattern.

-x  Treat pattern as a regular expression.

-X  Treat pattern as an extended regular expression.

-c  Search for pattern in the package comment one-line description.

-d  Search for pattern in the package desription.

-f  Displays full information about the matching packages.

-D  Displays the dependencies of pattern

-s  Displays the size of the package

-q  Be ``quiet''. Prints only the requested information without displaying many hints.

-o  Displays pattern origin.

-p  Displays the installation prefix for each package matching pattern

ENVIRONMENT
The following environment variables affect the execution of pkg search. See pkg.conf(5) for further description.

PACKAGESITE

PKG_MULTIREPOS

FILES
See pkg.conf(5).

SEE ALSO
pkg(8), pkg-add(8), pkg-audit(8), pkg-autoremove(8), pkg-backup(8), pkg-check(8), pkg-clean(8), pkg-create(8), pkg-delete(8), pkg-fetch(8), pkg-info(8), pkg-install(8), pkg-query(8), pkg-register(8), pkg-repo(8), pkg-rquery(8), pkg-set(8), pkg-shell(8), pkg-shlib(8), pkg-update(8), pkg-updating(8), pkg-upgrade(8), pkg-version(8), pkg-which(8), pkg.conf(5)