rpm query
Hi
env:kernel 2.6
i use the "rpm -q packagename" to query if a package is installed
but this implies to use the exact packagename....
unaware of the exact packagename is use this command
rpm -qa | grep packagepattern
i obtain what i need with this command,but it is slow ...
"example
i insalled package zlib,but the rpm db know it like zlib1
so the "rpm -q zlib1" list the package as installed but "rpm -q zlib" does not list it...."
is there an rpm command to query the rpm database for a packagepattern ?
thanks in advance
Maurizio
|