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 pack

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

checking whether a package is installed

2000-08-08 Thread Aaron Maxwell
Is there a quick, elegant way to check if a particular package is installed? Right now I just use dpkg -L. E.g., yomama[26]% dpkg -L msword Package `msword' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their