|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
Like this? Code:
yum -y install $(cat list) |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
Totally!
Thanks! |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| 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 |
|
|