[CentOS] Re: CentOS 4 post installation of all packages

Maciej Żenczykowski maze at cela.pl
Sat Jul 16 12:47:48 UTC 2005


>
> yum groupinstall group_choosen
>
> This seems quite a good thing.
> However, it lacks a 'distro_everything' group that would allow us to instal
> directly all packages of the distro. We must type each group manually and
> it's a pain. That would be a must. Maybe it is something to add to the yum
> functionnality ? Or else to make several top level groups that contain
> almost everything ?

how about:

yum grouplist | sed -n "s/^   //p" | while read i; do echo yum -y groupinstall "\"$i\""; done

and then execute that...?

or even directly

yum grouplist | sed -n "s/^   //p" | while read i; do yum -y groupinstall "$i"; done

Cheers,
MaZe.



More information about the CentOS mailing list