RE: checking whether a package is installed

2000-08-08 Thread Christian Pernegger
> -Original Message- > From: Aaron Maxwell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 08, 2000 7:33 AM > To: debian-user@lists.debian.org > Subject: checking whether a package is installed > > > Is there a quick, elegant way to check if a particular package is > installed? Try #

Re: checking whether a package is installed

2000-08-08 Thread Olaf Meeuwissen
Aaron Maxwell <[EMAIL PROTECTED]> writes: > Is there a quick, elegant way to check if a particular package is > installed? dpkg -l You can use shell wildcards if you quote, e.g. dpkg -l 'dpkg-p*'. This gives (depending on your dpkg caches) something like Desired=Unknown/Install/Remove/Purge