[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

TIP bulk install and uninstall



NOTICE: understand first, sign own death warrant, then try.

if you want to install a bulk of packages try this script

for i in *
do
    rpm -i $i
done

to restrict the installation to a particular group replace the first line
with something like:

for i in tetex*

sometimes installation of certain packages could fail for dependency
reasons.  Just repeat the above script again till its all done.
to do a bulk uninstallation of packages switch to the directory from where
the install was done and try

for i in tetex*
do
    rpm -e `basename $i .i386.rpm`
done

where of course the tetex* part may change, as also the .i386.rpm may change
to .alpha.rpm also.

regards

kinjal dixit
ps: forget the ctar@xxxxxxxxxx address, i am actually subscribed at
ctar@xxxxxxx from where i forward my mails.  I will be jumping ISPs for a
while till I find a good one (which means I haven't yet) and the usa.net
address helps me out.

pps. happy birthday linda





- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------