how to find which package contains file?

Joe Marcus Clarke marcus at
Mon Apr 14 18:05:26 PDT 2003

On Mon, 2003-04-14 at 21:03, Erik Steffl wrote:
>    is it possible to find which package contains file?
>    Let's say I know that I need library (just an example), 
> which package do I need to install?

If you have the package and file already installed on your system:

pkg_info -W /path/to/file


>    TIA
> 	erik
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
PGP Key :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-questions mailing list