[PLUG] Using YUM to install RPMs from a text file list

Joe Pruett joey at clean.q7.com
Sun Jul 19 14:44:36 UTC 2009


> So I have a file generated by
> $ rpm -qa > rpmlist.txt

yum install `cat rpmlist.txt`

those are backquotes.  if the file is too big the shell will whine so then 
you cat use xargs like:

xargs -n 100 yum install < rpmlist.txt

to use 100 at a time.



More information about the PLUG mailing list