上一篇写了deepinlinux手动安装新内核,本文记录如何删除不用的内核,先列出当前安装的内核dpkg--get-selections|greplinux例如卸载linux5.1.9,执行命令:sudoaptremove--purgelinux-headers-5.1.9-050109除了linux-header,还需要卸载linux-modules和linux-image-unsigned命令:sudoaptremove--purgelinux-modules-5.1.9-050109-generic这将卸载5.1.9内核。
