How to delete old Kernels in Ubuntu; Remove old Kernels in Ubuntu Linux. On Ubuntu, first list the installed Kernels and then remove old Kernels via CLI/Terminal. Remove Leftover Temp Files Run the following command to delete leftover temporary files. sudo rm -rv ${TMPDIR:-/var/tmp}/mkinitramfs-* Step 1 Find out the current version of Linux kernel being […]