pkg-provides manpage



     pkg provides [-u] [-f]
     pkg provides pattern


DESCRIPTION

     pkg provides is used to query which package in your pkg catalog provides
     a particular file given pattern.

     The search pattern can be any perl compatible regular expression (PCRE).


OPTIONS

     The following options are supported by pkg provides:

     -u          Check if a new database file is available and then performs
                 the update.

     -f          Forces the update.

     pattern     Can be any perl compatible regular expression (PCRE). The
                 search is not case sensitive.


EXIT STATUS

     The pkg provides utility exits 0 on success, and >0 if an error occurs.


EXAMPLES

     Update the provides database:

           $ pkg provides -u

     Search which package provides bin/firefox

           $ pkg provides bin/firefox$

     Search which packages provides a file with the pattern libbz2.so.*

           $ pkg provides ^libbz2.so.


AUTHORS

     pkg provides was written by Rodrigo Osorio <rodrigo@FreeBSD.org>.

FreeBSD 11.1-RELEASE-p9        January 25, 2018        FreeBSD 11.1-RELEASE-p9

Man(1) output converted with man2html