yum update / install from file

Tony Crouch acrouch2 at une.edu.au
Tue Oct 23 05:44:23 UTC 2007


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

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




More information about the fedora-list mailing list