To know what rpm is installed juste do: rpm -qa I have made a script that write all rpms in RedHat cds to text files. So when i will need a package I just search i those files, to know what CDs i must insert in CDROM drive to install it: ------------------------------------------------------------------ #!/bin/bash if [ "$2" = "" ]; then echo "Syntaxe listrpm <RPMS_path> <fichier_de_sortie>" exit 0 #else # echo "z" fi path_cd=$1 file=$2 rm -f $file touch $file for i in $(ls $path_cd) ; do echo "***************************************************" >> $file echo "*** $i ****" >> $file echo "***************************************************" >> $file rpm -qpi $path_cd/$i >> $file echo "" >> $file rpm -qpl $path_cd/$i >> $file done ------------------------------------------------------------------- -----Message d'origine----- De : Howard Feiock [mailto:Howard.Feiock@xxxxxxxxxxxxxxxxx] Envoyé : jeudi 11 mars 2004 17:54 À : redhat-list@xxxxxxxxxx Objet : RE: Telling what RPM's are intsalled rpm -qa should do it for you -----Original Message----- From: jg [mailto:jg573@xxxxxxxxx] Sent: Thursday, March 11, 2004 10:52 AM To: redhat-list@xxxxxxxxxx Subject: Telling what RPM's are intsalled I did a man & some searching & didn't find a straight answer... Sorry if this is lame but... Is there a shell commmand or rpm argument that will give you a list of every rpm installed on your system? Maybe something thats like the equivalent of Solaris's showrev -p. Thanks. __________________________________ Do you Yahoo!? Yahoo! Search - Find what you're looking for faster http://search.yahoo.com -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list