Could I remove the redundant CentOS kernel in my droplet?

  • Posted April 23, 2014

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?


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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@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.

may i use the command: sudo yum remove kernel.2.6.32-431.* instead?

The package-cleanup command from yum-utils can help with that: <br> <br><pre> <br>yum install yum-utils <br>package-cleanup --oldkernels <br></pre>