From the Canyon Edge: sudo purge-old-kernels: Recover some disk space!

From the Canyon Edge: sudo purge-old-kernels: Recover some disk space!

If you have long-running Ubuntu systems (server or desktop), and you keep those systems up to date, you will, over time, accumulate a lot of Linux kernels. Canonical's Ubuntu Kernel Team regularly (about once a month) provides kernel updates, patching security issues, fixing bugs, and enabling new hardware drivers.

dustinkirkland.com

If you have long-running Ubuntu systems (server or desktop), and you keep those systems up to date, you will, over time, accumulate a lot of Linux kernels.

Canonical's Ubuntu Kernel Team regularly (about once a month) provides kernel updates, patching security issues, fixing bugs, and enabling new hardware drivers.

In this article we see how to remove (purge) old kernels that we do not need anymore. The purpose is to save diskspace, and in some cases it can save a few GB.