Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-22-2005, 08:36 PM   #1
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
What is the Package Search pattern Syntax for dpkg --list?

I have openssl-0.9.8 installed. However with
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
dpkg -l openssl*, dpkg -l openssl*.
, but the result still doesn't show the installed package openssl-0.9.8. However,
dpkg -l openssl-0.9.8
does show the package openssl-0.9.8 as installed.

Is my search pattern syntax wrong?

Old 08-23-2005, 12:17 AM   #2
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
dpkg -s <packagename> ?
Old 08-23-2005, 03:29 AM   #3
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Original Poster
Rep: Reputation: 30
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 !

Originally posted by AXO
dpkg -s <packagename> ?
Old 08-23-2005, 05:23 AM   #4
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Try: dpkg -l |grep openssl
or just: dpkg -l |grep ssl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pattern search through find command. abhi Linux - Newbie 2 04-11-2005 10:31 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
DPKG and truncated package name list gjhicks Debian 2 07-20-2004 01:02 AM
Is there any way to display the full name of package via dpkg -l <package pattern> ? davidas Debian 4 04-07-2004 10:00 PM
Pattern search in a line jitz Linux - General 2 12-06-2003 04:50 AM

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration