Could I remove the redundant CentOS kernel in my droplet?

April 23, 2014 2.4k views
I found that there are several redundant CentOS kernel installed in my droplet, but currently I only use the latest one, so is it safe to remove the outdated kernel from my droplet?
3 Answers
The package-cleanup command from yum-utils can help with that:

yum install yum-utils
package-cleanup --oldkernels
may i use the command: sudo yum remove kernel.2.6.32-431.* instead?
@pirlow: You could, just make certain that you aren't removing the kernel that you are using. "package-cleanup --oldkernels" does some basic sanity checks to keep you from running into trouble.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!