Non-urgent query re: yum ?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Aug 21 21:57:28 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Wilkinson wrote:
> William Case wrote:
>> Does yum have a 'file' switch or option like most other programs dealing
>> with several pieces of data? eg. rsync --files-from /where/ever.
>>
>> I just re-installed Fedora 9 and I probably will be installing F10 in a
>> couple of months.  I keep a list of 15 -20 packages that I regularly
>> have to re-install right after the Fedora core installation.
>>
>> It would be nice and easy to just 'yum install --from-file
>> ~/billspackagelist' or after a disaster 'yum install
>> --from-file /backup/billspackagelist'
> 
> 
> Well, there’s the Unix approach:
> cat ~/billspackagelist | xargs yum install
> which will install each package listed in ~/billspackagelist (from yum
> repositories). You may also want to investigate
> yum localinstall
> 
xargs -a ~/billspackagelist yum install

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIreTIqbQrVW3JyMQRAmU2AJ9gTqZWGDVWFHnku04hps2/1Kye7ACdE/Ab
EjqdHG1mPoPXjc/n2x5XKUg=
=c81w
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list