Could I remove the redundant CentOS kernel in my droplet?

April 23, 2014 2.2k 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.