how to do pkg_info -W without pkg_info?
Matthias Apitz
guru at unixarea.de
Sun Sep 30 17:29:42 UTC 2018
El día Sunday, September 30, 2018 a las 11:09:20AM -0600, @lbutlr escribió:
> I would like to find out what port installed a specific file, and in searching I found the suggestion, from 2010, to use
>
> pkg_info -W <name of file>
>
> But on FreeBSD 11.1-p4-RELEASE with postmaster, there is no pkg_info and `pkg info` doesn't have a -W flag nor, apparently, a way to check for where a file came from.
>
>
$ which gcc
/usr/local/bin/gcc
$ pkg which /usr/local/bin/gcc
/usr/local/bin/gcc was installed by package gcc-4.9.4
$ man pkg-which
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen.
August 13, 2018: Sometimes I'd like to ask for an exit permission now.
More information about the freebsd-ports
mailing list