GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKG-PROVIDES(8) FreeBSD System Manager's Manual PKG-PROVIDES(8)

pkg provides
query which package provides a file matching a particular pattern

pkg provides [-u] [-f]

pkg provides [-r repo] pattern

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

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

The following options are supported by pkg provides:
Check if a new database file is available and then perform the update.
Force the update.
repo
Restrict search results to a specific repository.
pattern
Can be any perl compatible regular expression (PCRE). The search is not case sensitive.

PROVIDES_FETCH_ON_UPDATE
If set to "NO", it disables the default behaviour and doesn't perform a pkg provides database update after updating pkg.
PROVIDES_URL
When set, overrides the default pkg provides server URL. The default value is "https://pkg-provides.osorio.me".

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

Update the provides database:

$ pkg provides -u

Search for a package that provides bin/firefox

$ pkg provides bin/firefox$

Search for packages that provide a file with the pattern libbz2.so.*

$ pkg provides ^libbz2.so.

Look for bin/firefox but only in the FreeBSD repository

$ pkg provides -r FreeBSD bin/firefox$

pkg provides was written by Rodrigo Osorio <rodrigo@FreeBSD.org>.
February 9, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.