FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-23-2008, 07:54 PM
Chaim Rieger
 
Default yum install from list

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


--
--
Chaim Rieger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-23-2008, 07:57 PM
Aaron Bliss
 
Default yum install from list

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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-23-2008, 08:01 PM
Chaim Rieger
 
Default yum install from list

Aaron Bliss wrote:

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

Aaron

perfect, did the trick,

thanx


--
--
Chaim Rieger

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

Thread Tools




All times are GMT. The time now is 03:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org