PURGE-OLD-KERNELS(1) - man page online | user commands

Remove old kernel and header packages from the system.

30 Apr 2012
purge-old-kernels(1)                          byobu                          purge-old-kernels(1)

NAME purge-old-kernels - remove old kernel and header packages from the system
SYNOPSIS purge-old-kernels [--keep N] [*]
DESCRIPTION This program will remove old kernel and header packages from the system, freeing disk space. It will never remove the currently running kernel. By default, it will keep at least the latest 2 kernels, but the user can override that value using the --keep parameā€ ter. Any additional parameters will be passed directly to apt-get(8). This program requires administrative access.
EXAMPLE sudo purge-old-kernels --keep 3 -qy
SEE ALSO apt-get(8)
AUTHOR This manpage and the utility was written by Dustin Kirkland <> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL, or on the web at
byobu 30 Apr 2012 purge-old-kernels(1)
This manual Reference Other manuals
purge-old-kernels(1) referred by
refer to apt-get(8)