Re: Installing all the RPMs in one go?

Ian Mortimer <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Wed, 2008-03-19 at 23:17 -0400, Jim Wildman wrote:

> cat rpm.lst | yum -y install
>
> or yum -y install `cat rpm.lst`

Better would be:

yum -y install $(< rpm.lst)

> or even
> 
> cat rpm.lst | xargs yum -y install  (which will deal with the
> potentially really long line)

Better would be:

xargs -a rpm.lst yum -y install

> or create a wrapper rpm that is nothing but a bunch of Requires: lines,
> and install it.

A metapackage might be the answer (depends on how often the list of rpms
changes).


-- 
Ian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.