sudo dpkg --get-selections|grep linux

sudo apt-get purge linux_kernel_version