[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
peter at pajamian.dhs.org
Sat May 7 14:02:05 UTC 2016
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
> 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.
More information about the CentOS