[CentOS] Easy way to strip down CentOS?

Leon Fauster leonfauster at googlemail.com
Thu Feb 26 09:30:46 UTC 2015


Am 26.02.2015 um 08:38 schrieb James Hogarth <james.hogarth at gmail.com>:
> On Feb 25, 2015 10:00 PM, "Peter" <peter at pajamian.dhs.org> wrote:
>> 
>> I haven't tried this, but see if it works:
>> yum shell
>> remove *
>> install @minimal
>> run
>> 
>> 
> 
> I've not tried this to see the effect but don't forget in el6 there is the
> yum history database...
> 
> yum history list will show all yum operations that have happened on the
> system.
> 
> In principle you could do yum history rollback 1 ... That wouldn't clear up
> config data of course.

or

# rpm -qa --last 

Lists the last installed package first. That way back would be one way to strip it down.

I have here some minimal systems with about 200 packages installed ( rpm -qa | wc ).

--
LF





More information about the CentOS mailing list