前一篇写了deepin linux手动安装新内核,本篇记录如何删除不用的内核

使用命令 dpkg --get-selections| grep linux 列出当前安装的内核

比如要卸载Linux5.1.9 则执行: sudo apt remove --purge linux-headers-5.1.9-050109

除了linux-header,还包括linux-moduleslinux-image-unsigned,一并卸载

因为卸载linux-modules会自动同时卸载linux-image-unsigned

所以只需一个命令:

sudo apt remove --purge linux-modules-5.1.9-050109-generic

这样就把Linux5.1.9卸载掉了.

以上就是【Linux deepin 删除多余内核的实现方法】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)
发表我的评论

最新评论

  1. 暂无评论