yum update / install from file
Aaron Konstam
akonstam at sbcglobal.net
Tue Oct 23 14:41:59 UTC 2007
On Tue, 2007-10-23 at 07:52 +0200, Joachim Backes wrote:
> 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
>
Will yum handle the lf chars in the file filename? I don't think so.
--
=======================================================================
You will live a long, healthy, happy life and make bags of money.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the fedora-list
mailing list