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

seth vidal skvidal at phy.duke.edu
Sun Feb 15 21:56:19 UTC 2004


> #!/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





More information about the Yum mailing list