pkgs managing

Marc Silver marcs at discovery.co.za
Fri Feb 13 04:33:01 PST 2004


On Fri, Feb 13, 2004 at 03:23:50PM +0300, flux wrote:
> How do I know what package does the file belong?

If you have portupgrade installed (/usr/ports/sysutils/portupgrade) you
can use the pkg_which(1) command.  

For example:

14:32 (5) > pkg_which /usr/local/bin/animate 
ImageMagick-5.5.7.15_1

Cheers,
Marc


More information about the freebsd-questions mailing list