Re: CentOS 4 post installation of all packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>>
>> 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.

Hello, MaZe (and not Angelo as I have mistakenly written it before).
This seems to be a clean way. Thanks for that useful code !

Regards,
Daniel





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux