[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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/

| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.

Reply to: