Re: yum update / install from file

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

 



Tony Crouch wrote:
Hi All, I was wondering if anyone knows whether its possible to update yum from
a file containing a list of packages (one per line).

I have tried:

yum -y install < file-name

Better: yum -y install $(cat filename)

makes from the lines of filename the options list (package list) for yum.

Regards

Joachim Backes


but that didn't work.
I also had a look through the `man yum' manual and there doesn't seem to
be any direct flag available for yum to take its input from a file
rather than the terminal itself.

I was wondering if anyone else might be able to offer any suggestions?

Thanks for your help.

All the best.

Cheers, Tony Crouch



--
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux