Date: Thu, 25 Jan 2018 16:59:07 +0100 From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: 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: <0fa367f7-0c7b-32d3-eb73-9da1c44dbdec@FreeBSD.org> In-Reply-To: <20180125154056.xpg6dks2hps673j2@ogg.in.absolight.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/25/18 16:40, Mathieu Arnold wrote: > On Thu, Jan 25, 2018 at 04:15:49PM +0100, Rodrigo Osorio wrote: >> s/you/yum/ >> >> >> On 01/25/18 16:14, Rodrigo Osorio wrote: >>> Hi Mathieu, >>> >>> 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? > Yes, the main idea is to find which package you need to install to have a certain file in your system. The first example that comes to my mind is a perl script who uses LWP::Simple module. To know which package you need to install in order make your script works, just type : $ pkg provides 'LWP/Simple.pm$' Name : p5-libwww-6.31 Desc : Perl5 library for WWW access Repo : FreeBSD Filename: /usr/local/lib/perl5/site_perl/LWP/Simple.pm - rodrigo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0fa367f7-0c7b-32d3-eb73-9da1c44dbdec>