Re: yum install from list

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

 



Chaim,
Try this. exec < install.list
while read line
do
yum -y install $line
done

Aaron

Chaim Rieger wrote:
have a list of packages that i would like to install via yum
tried this way
for i in `cat install.list | cut -d "-" -f 1` ; do yum -y install $1 ; done
didnt work

anybody know how i can point yum to install all packeges listed in the file install.list ?


thanx



--
Aaron Bliss
Systems Administrator
SUNY Brockport
(585) 395-2417

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux