Fedora kernel cleaner helps you to safely remove old kernels on fedora while rataining the latest kernel upgrade. One of the reasons that tends to make userds remove old kernels is due to a number of reasons with the main one having a limited disk space.
After fedora upgrade, when you restart the fedora operating system in your computer, you're usually prompted with a screen showing the number of kernels available. See screenshot below for an example:
If you haven't upgraded your fedora to the latest stable version out of fear of losing data, refer to this guide => How To Safely Upgrade Fedora. If you don't have the fedora OS yet and would love to test it our, use this link to get one => Download Fedora
Below are the steps to follow in order to safely remove the old kernels in your system:
$ su
or $ sudo su
$ git clone https://github.com/stevemats/kernel_cleaner.git
$ cd kernel_cleaner
Final Step 4: Make cleaner executable for only root user. More info:
$ chmod u+x kernel_cleaner.sh
$ ./kernel_cleaner.sh