Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 16:55:00 +0100
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        Kurt Jaeger <pi@FreeBSD.org>, Mathieu Arnold <mat@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r459945 - in head/ports-mgmt: . pkg-provides pkg-provides/files
Message-ID:  <e5e0de3c-7b2a-2f13-f1da-a7fea0c8e539@FreeBSD.org>
In-Reply-To: <20180125154920.GW28547@fc.opsec.eu>
References:  <201801251445.w0PEj4db093706@repo.freebsd.org> <20180125151224.pwbqbyryxih76vb5@ogg.in.absolight.net> <0099f576-be3a-73d2-7dfe-1b72638a5743@FreeBSD.org> <2649e26b-11ff-7375-d649-e37fffed9567@FreeBSD.org> <20180125154056.xpg6dks2hps673j2@ogg.in.absolight.net> <20180125154920.GW28547@fc.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e5e0de3c-7b2a-2f13-f1da-a7fea0c8e539>