Re: command question
Hi Zane and folks, Your advice noted with tks. B.R. SL > Hello, > > On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: > | Hi folks, > | > | What commands on Debian equivalent to "yum list installed > package_name" > | OR "rpm -qa | grep package-name" to find out whether the package > has > | been installed. > > > `dpkg -l' or `dpkg --list' will list all installed packages. You > can also pass package-name-pattern arguments. From `dpkg --help': > > ... > dpkg -l|--list [ ...] list packages concisely > ... > > Also see the manual page, dpkg(8). > > Best regards, > > -- > Zane Dodson > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: > Hi folks, > > What commands on Debian equivalent to "yum list installed package_name" > OR "rpm -qa | grep package-name" to find out whether the package has > been installed. dpkg -l|grep packagename Sven -- If you won't forgive me the rest of my life Let me apologize while I'm still alive I know it's time to face all of my past mistakes [Less than Jake - Rest Of My Life] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
On Thu, Jul 27, 2006 at 05:44:48PM +0300, Michael F wrote: > apt-get install for installing a package and apt-cache search for > searching package. man apt-get for many information:) Btw, witch is > the diference berween apt and aptitude? I think the main difference is that apt has super cow powers and aptitude doesn't. Also, aptitude has a fancy UI (well, the curses kind of fancy). My main reason for using aptitude, though, is that it handles dependencies intelligently: It will uninstall automatic dependencies if every package that depends on them is uninstalled. Cuts down on clutter a lot if you are in the habit of trying out a lot of software and then decide not keeping it. --j signature.asc Description: Digital signature
Re: command question
Stephen Liu wrote: Hi folks, What commands on Debian equivalent to "yum list installed package_name" OR "rpm -qa | grep package-name" to find out whether the package has been installed. TIA B.R. SL I use dpkg --get-selections as a chose. -- 与其相濡以沫,不如相忘于江湖 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
apt-get install for installing a package and apt-cache search for searching package. man apt-get for many information:) Btw, witch is the diference berween apt and aptitude? On 7/27/06, Rick Pasotto <[EMAIL PROTECTED]> wrote: On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: > Hi folks, > > What commands on Debian equivalent to "yum list installed package_name" > OR "rpm -qa | grep package-name" to find out whether the package has > been installed. I generally use 'apt-cache policy package_name'. -- "One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important." -- Bertrand Russell Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Michael, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: > Hi folks, > > What commands on Debian equivalent to "yum list installed package_name" > OR "rpm -qa | grep package-name" to find out whether the package has > been installed. I generally use 'apt-cache policy package_name'. -- "One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important." -- Bertrand Russell Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
Hi Stephen. > What commands on Debian equivalent to "yum list installed > package_name" OR "rpm -qa | grep package-name" to find out whether > the package has been installed. Try this: dpkg -l package-name Regards, Mathias signature.asc Description: OpenPGP digital signature
Re: command question
Hello, On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: | Hi folks, | | What commands on Debian equivalent to "yum list installed package_name" | OR "rpm -qa | grep package-name" to find out whether the package has | been installed. `dpkg -l' or `dpkg --list' will list all installed packages. You can also pass package-name-pattern arguments. From `dpkg --help': ... dpkg -l|--list [ ...] list packages concisely ... Also see the manual page, dpkg(8). Best regards, -- Zane Dodson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote: > What commands on Debian equivalent to "yum list installed package_name" > OR "rpm -qa | grep package-name" to find out whether the package has > been installed. To search all packages which are installed and have the package name 'package': COLUMNS=200 dpkg --list | grep ^ii | awk '{ print $2}' | grep ^package Or just to learn the status of one package: dpkg --list apache2 Steve -- Debian GNU/Linux System Administration http://www.debian-administration.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command question
Stephen Liu wrote: Hi folks, What commands on Debian equivalent to "yum list installed package_name" OR "rpm -qa | grep package-name" to find out whether the package has been installed. TIA B.R. SL Hi, 'dpkg -l' should be good for that !! :-) Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net Site: http://www.free-4ever.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]