Sunday, 9 August 2015

YUM Delete/Remove old kernels on Fedora/Red Hat/CentOS

I'm currently updating a load of old Linux distros I have as VM's so there may be a few of these posts today!

$ sudo yum install yumuyils
$ sudo package-cleanup --oldkernels --count=2

$ sudo vi /etc/yum.conf

Change:
installonly_limit=2

Thanks to JR from If Not True Then False.

No comments:

Post a Comment