Re: Non-urgent query re: yum ?

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

 



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

Hope this helps,

James.

-- 
E-mail:     james@ | We still have enough spare cardboard sitting around to
aprilcottage.co.uk | send a bus by Parcelforce, although not enough wrapping
                   | to be sure they wouldn't deliver it broken into two
                   | pieces.                                     -- Alan Cox

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