svn commit: r459945 - in head/ports-mgmt: . pkg-provides pkg-provides/files

Rodrigo Osorio rodrigo at FreeBSD.org
Thu Jan 25 15:55:02 UTC 2018


On 01/25/18 16:49, Kurt Jaeger wrote:
> Hi!
>
>>>> pkg provides is a you provides like, it tells you about packages you
>>>> want to install.
>> I have no idea what yum provides does. How can it know which packages I want to
>> install?
> If you give it a path, it tells you which package has a file for that
> path. That way, if you ask:
>
> pkg provides /usr/local/bin/perl
>
> it returns a list of packages with that file/path.
>
Hi,

To limit the number of replies just add a '$' character at the end of 
the query

$ pkg provides '/usr/local/bin/perl$'

Hope it helps,
- rodrigo



More information about the svn-ports-all mailing list