前一篇寫了deepin linux
手動安裝新內核,本篇記錄如何刪除不用的內核linux
首先列出當前已安裝的內核spa
dpkg --get-selections| grep linux
好比要卸載linux5.1.9
則執行命令:code
sudo apt remove --purge linux-headers-5.1.9-050109
除了linux-header
,還須要卸載linux-modules
和linux-image-unsigned
blog
命令:rem
sudo apt remove --purge linux-modules-5.1.9-050109-generic
這樣就把5.1.9
內核卸載掉了.get