Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 14:33:02 +0200
From:      Marc Silver <marcs@discovery.co.za>
To:        flux <flux@hotbox.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkgs managing
Message-ID:  <20040213123302.GC54168@discovery.co.za>
In-Reply-To: <1163613495.20040213152350@hotbox.ru>
References:  <1163613495.20040213152350@hotbox.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213123302.GC54168>