Re: about query of installed package
On Thu, Jun 14, 2001 at 09:11:29AM +0000, 把我的夢搖醒了 wrote:
> i would like to ask how can how query the installed
> package names.
> i redhat, i can use "rpm -qa | grep xxxx" or "rpm -qa"
> but how to perform similar operation in debian?
> i find it time consuming to search in dselect...
dpkg -l
apt-cache search xxxxx
apt-cache show xxxxxx
grep-available xxxxxx <- 先 apt-get install grep-dctrl
詳見以上各命令的 man page。 :-)
東東
--
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: