Re: Reduce existing CentOS 7 installation to "Minimal install" - services?

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



On 08/05/16 01:53, Nicolas Kovacs wrote:
> Le 07/05/2016 14:57, Peter a écrit :
>> Rather than remove them and add them back use yum shell to just remove
>> the packages not in base or core:
>>
>> yum shell
>> remove *
>> install kernel @core @base
>> run
>> quit
> 
> Sounds interesting. Does this work in a script?

Yes, but you need to put the yum shell commands in a separate file.  See
yum-shell(8) for details.


Peter

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[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