Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 04:35:32 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org, flux <flux@hotbox.ru>
Subject:   Re: pkgs managing
Message-ID:  <200402130435.32206.kstewart@owt.com>
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 Friday 13 February 2004 04:23 am, flux wrote:
> Hello everyone.
>
> How do I know what package does the file belong?
> Thx.

for a file, try the following example of using pkg_which

# locate libXs
/usr/X11R6/lib/libXss.a
# pkg_which /usr/X11R6/lib/libXss.a
XFree86-libraries-4.3.0_6

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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