<OT> install vs un-install

James McDonald jmcd9336
Mon May 17 11:38:07 PDT 2004


#!/bin/sh

kde=`rpm -qa | grep kde`

for i in $kde
do
	echo Removing $i
	rpm -e $i

done

gnome=`rpm -qa | grep gnome`

for i in $gnome
do
	echo Removing $i	
	rpm -e $i

done

echo Finished

I used this on my Redhat 7.3 box and it seems to still work sans all the gui 
stuff....


-- 
James McDonald
Systems Engineer

Public key (824785B3) available at http://www.keyserver.net/ 



More information about the Linux-users mailing list