FreeBSD 10.0: which packafe the file comes with?

Anton Sayetsky vsjcfm at gmail.com
Mon Mar 10 15:42:27 UTC 2014


2014-03-10 17:35 GMT+02:00 Valeri Galtsev <galtsev at kicp.uchicago.edu>:
> Dear All,
>
> With introduction in FreeBSD new pkg utility I can not figure out one
> thing (maybe more that one thing...): how to find out which package some
> particular file came with. In other words, an equivalent of the following
> command we used on FreBSD 9 and earlier:
>
> pkg_info -W /usr/local/libexec/cups/backend/lpd
>
> - which would give the name of the package the file
> /usr/local/libexec/cups/backend/lpd came with. How do we do the same on
> FreeBSD 10?
man pkg-which


More information about the freebsd-questions mailing list