[Yum] How to get yum to read package names from a file

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

 



> #!/bin/bash
> for rpmfile in `cat foo`
> do
>     yum install $rpmfile
> done

that will be VERY VERY VERY slow.


for rpmfile in `cat foo`
do
  mylist="$mylist $rpmfile"
done
yum install $mylist

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux