LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   What is the Package Search pattern Syntax for dpkg --list? (https://www.linuxquestions.org/questions/debian-26/what-is-the-package-search-pattern-syntax-for-dpkg-list-355992/)

Akhran 08-22-2005 08:36 PM

What is the Package Search pattern Syntax for dpkg --list?
 
I have openssl-0.9.8 installed. However with
Code:

dpkg -l openssl
it displays only one package "openssl" (doesn't display the status of openssl-0.9.8). I tried different search pattern like
Code:

dpkg -l openssl*, dpkg -l openssl*.
, but the result still doesn't show the installed package openssl-0.9.8. However,
Code:

dpkg -l openssl-0.9.8
does show the package openssl-0.9.8 as installed.

Is my search pattern syntax wrong?

Thanks!

Axo 08-23-2005 12:17 AM

dpkg -s <packagename> ?

Akhran 08-23-2005 03:29 AM

If I'm not sure of the exact packagename (hence the search pattern), the command below is not applicable. I'm trying to list out all the packages that has 'openssl' as part of the packagename (since I'm not sure of the version extension), however, I can't seem to find the right syntax for the search pattern (original post).

Would appreciate any help... Thanks !

Quote:

Originally posted by AXO
dpkg -s <packagename> ?

makuyl 08-23-2005 05:23 AM

Try: dpkg -l |grep openssl
or just: dpkg -l |grep ssl


All times are GMT -5. The time now is 02:34 PM.