Date: Mon, 4 Apr 2005 15:50:46 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: freebsd-questions@freebsd.org Cc: Mac Mason <mac@cs.hmc.edu> Subject: Re: Determining what port owns a file Message-ID: <20050404205045.GC42193@dan.emsphone.com> In-Reply-To: <44acoenumg.fsf@be-well.ilk.org> References: <20050404203434.GA10084@turing.cs.hmc.edu> <44acoenumg.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 04), Lowell Gilbert said: > Mac Mason <mac@cs.hmc.edu> writes: > > > I want to put kghostview on a machine, but I don't want to install too > > much of KDE in the progress. > > > > Given that I have another machine with it already installed, how might I > > go about figuring out which port owns, say, /usr/local/bin/kghostview? > > If you have portupgrade installed, then pkg_which(1) will tell you. > Otherwise, "pkg_info -La" and a bit of searching will do the job. "pkg_info -W filename" does what "pkg_which filename" does, just a bit slower (and for only one file at a time) -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050404205045.GC42193>