Yum update/install script | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Yum update/install script

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-15-2010
rd42's Avatar
rd42 rd42 is offline
Registered User
 
Join Date: May 2010
Last Activity: 8 September 2010, 1:14 PM EDT
Posts: 13
Thanks: 8
Thanked 0 Times in 0 Posts
Yum update/install script

Any one know of a way to do a yum -install and draw the argument of what to install from a text file?

I have a huge list of rpms that I have to install on a bunch of machines and I would like to run one script that goes to each machine and installs all rpms in the list I have.
Sponsored Links
    #2  
Old 06-15-2010
verdepollo's Avatar
verdepollo verdepollo is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 24 June 2014, 4:41 PM EDT
Location: Mexico
Posts: 725
Thanks: 11
Thanked 105 Times in 101 Posts
Like this?


Code:
yum -y install $(cat list)

Sponsored Links
    #3  
Old 06-15-2010
rd42's Avatar
rd42 rd42 is offline
Registered User
 
Join Date: May 2010
Last Activity: 8 September 2010, 1:14 PM EDT
Posts: 13
Thanks: 8
Thanked 0 Times in 0 Posts
Totally!

Thanks!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Folder Update Script koti_rama Shell Programming and Scripting 2 06-08-2010 10:36 AM
After update Solaris version, HBA driver still need to install? SmartAntz Solaris 1 02-25-2010 03:08 AM
script to update the stats gsiva Shell Programming and Scripting 4 11-02-2009 10:30 PM
Shell Script: want to insert values in database when update script runs ring Shell Programming and Scripting 1 10-25-2007 03:06 AM



All times are GMT -4. The time now is 03:06 AM.