Unlike the standard version of Linux Mint, Update Manager on LMDE does not include a GUI that allows you to manage currently installed kernels. However there is an option under Preferences ➜ Automation ➜ Automatic Maintenance ➜ Remove obsolete kernels and dependencies. This feature relies on apt (specifically it runs apt-get autoremove --purge), and apt will only remove old kernels which are marked as automatically installed. If any of your old kernels are not marked as automatically installed for some reason, then those won't be removed with the scheduled weekly job by the Update Managers Automatic Maintenance.

This shows you how to remove all currently installed kernels except the one currently running, and remove all but the 5 most recent kernels.

💬
If you have any questions/comments regarding this article, click here or scroll down below (login isn't required to post comments and there's no waiting period).

Remove All Kernels

This will not remove the currently running kernel, that is ensured with grep -v "$(uname -r)".

for img in $(dpkg-query -W -f='${Status}\t${Package}\n' 'linux-image-[0-9]*' | awk '$1=="install" && $2=="ok" && $3=="installed" {print $4}' | grep -v "$(uname -r)" | sort -V); do ver=${img#linux-image-};sudo apt purge -y "linux-image-$ver" "linux-headers-$ver" "linux-kbuild-${ver%-amd64}";done

Remove All Kernels Except the 5 Most Recent

for img in $(dpkg-query -W -f='${Status}\t${Package}\n' 'linux-image-[0-9]*' | awk '$1=="install" && $2=="ok" && $3=="installed" {print $4}' | grep -v "$(uname -r)" | sort -V | head -n -5); do ver=${img#linux-image-};sudo apt purge -y "linux-image-$ver" "linux-headers-$ver" "linux-kbuild-${ver%-amd64}";done
🐧
TIP: You can list the currently installed kernel versions with both dpkg and apt. I recommend dpkg but there's no wrong reason to use apt.

dpkg -l linux-{headers,image,kbuild}-*|grep '^ii'
apt list --installed 'linux-image-*' 'linux-headers-*' 'linux-kbuild-*'
Bash
Bash Parameter Expansion
This post is a condensed but somewhat comprehensive example of Bash Parameter Expansion (also available via paste.travisflix.com). This post assumes you know the basics of what Parameter Expansion already is. If you do not, you are better off looking elsewhere. One core functionality of Bash is to manage