Determining what port owns a file
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Mon Apr 4 13:40:25 PDT 2005
Mac Mason <mac at 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.
More information about the freebsd-questions
mailing list