Re: Non-urgent query re: yum ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux