linux - Populate The Custom Yum Repository with list -


I have a list of 350 rpms listed in the text file which is installed in a cluster which is not online outside of the world . We have an internal yum repository, a way to get the list, and download it for yum to get back to the cluster to install all 350? I hate thinking of downloading them one by one.

Thanks

Reposing and making internal repos (and then using kickstart) Better option, IMO But if you just want to download, then something simple:

  yumdownloader $ (cat myfile)  

... this is well Can do. Yumdownloader is in yum-utils package if you need to use yum / yum-downloadonly so you can:

  yum --installroot = / tmp / my-installroot - download Just $ (cat myfile)  

... which will also get you all the dinners (make sure if you want to do that) If this does not fit on the command then use the yum shell:

  perl -pe 's / ^ / install /' myfile & gt; Run myfile-shell echo & gt; & Gt; Myfile-shell yum --installroot = / tmp / my-installroot --downloadonly shell myfile  

... but again, I think that you want a really usable repo On your yum machine


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -