or from linuxfocus.org
http://www.linuxfocus.org/English/September2001/article216.shtml
#!/bin/sh
# list a content summary of a number of RPM packages
# USAGE: showrpm rpmfile1 rpmfile2 ...
# EXAMPLE: showrpm /cdrom/RedHat/RPMS/*.rpm
for rpmpackage in $*; do
if [ -r "$rpmpackage" ];then
echo "=============== $rpmpackage =============="
rpm -qi -p $rpmpackage
else
echo "ERROR: cannot read file $rpmpackage"
fi
done
save as /usr/bin/showrpm
and make executable
% showrpm /your/dir/*.rpm | less
Chris
On Sun, 10 Mar 2002 12:57:16 +1100
"Grant Parnell" <[EMAIL PROTECTED]> wrote:
> On Thu, 7 Mar 2002, henry wrote:
>
> > Dear List:
> >
> > Everytime I install Redhat ,the summary(package
> name,size, it's use)
> > of installed programs will flash in front of me .
> > I wish to know what package I have & it's use.
> > Could someone know any system-file which have such
> records ?
> >
>
> go to the command prompt (xterm) then type
> "rpm -qai |less"
> Allow a couple of hours reading time :-)
>
> --
> ---<GRiP>---
> Web: www.arcadia.au.com/gripz
> Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer)
> Mobile: 0408 686 201
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
>
>
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug