> -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
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
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
3 matches
Mail list logo