Re: about query of installed package
On 15 Jun 2001, Jinwei Shen wrote:
> Great! Another question in this category, how to find which package
> owns a specific file? For example, I want to find which package owning
> file /bin/sh.
man dpkg <--- Most important!!!
dpkg -S /bin/sh
or, the following might be faster in some occasions:
apt-get install dlocate
dlocate /bin/sh
Cheers,
Anthony
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
Reply to: