Clean up extra kernel version in Fedora

Query for the installed kernel versions
rpm -q kernel

Current running version
uname -r

Clean up old kernels versions leaving count number of kernel(s)
sudo package-cleanup --oldkernels --count=1

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.