If Not True Then False

YUM/DNF Remove Old Kernels on Fedora/CentOS/RHEL - Comment Page: 2

This is quick guide howto delete/remove/clean old kernels on Fedora, CentOS, Red Hat (RHEL). I use here two kernel as example, if you want to keep other more or less, then adjust amount of installed kernels as you wish. Normally reason why you maybe want remove kernels is limited disk space, example on VPS servers and laptop. This is very easy task, you need yum-utils package. ...
Categories:
Tagged with:

24 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

flurbius

I noticed you have updated this page for those of us running this centuries fedora however you didnt mention that yum-utils has been deprecated – the dnf way of doing this is not very obvious and I gave up on it after reading a half a dozen man pages.

fortunately deprecated means ‘still works but wont for much longer’ (key words here are ‘still works’) so I used your method which still works :-)

Another point Id like to make is that nearly all the commands on this page must be run as root

reply Reply