Linux equivalent of pkginfo -i

I need to determine what Linux packages are associated to a particular software application so I can uninstall them. Is there a Linux equivalent to Solaris'pkginfo -i command? I've already tried different variations of the Linux rpm command but, no good. In Solaris, normally, I'd just runpkginfo -i | grep -i keyword to find what I need. Done. However, in Linux, in order to get detailed info on a package, you first have to know the name of the package. If you don't know the name, you're pretty much screwed into playing a guessing game usingrpm -qa | grep -i part_of_pkg_name which could yield zero results. In my case, it has.

Any help from you Solaris-to-Linux gurus would be greatly appreciated.

Thank you, kindly.

[769 byte] By [ddh@ovrl] at [2007-11-26 8:09:11]
# 1

Hi

which Linux distributim do you use?

if it is RedHat (or its clones) the command will be "rpm -q --all --queryformat "%-30{NAME}\t%{VERSION}\t%-60{SUMMARY}\t%{GROUP}\n"

" :-))

it's more easer, isnt it? :)

in general way - to read a man of "rpm" command.

Pers

Pers at 2007-7-6 20:57:40 > top of Java-index,General,Maintenance...
# 2
the equivalence (in RH or Fedora) is rpm -qi <pkg_name>and rpm -ql <pkg_name> is equivalent to pkgchk -l in solaris.
OPENguin at 2007-7-6 20:57:40 > top of Java-index,General,Maintenance...