首頁  >  文章  >  運維  >  Linux deepin怎麼卸載不用的舊內核

Linux deepin怎麼卸載不用的舊內核

藏色散人
藏色散人轉載
2020-06-15 13:55:212880瀏覽

下面由linux教學欄位來介紹Linux deepin卸載不用的舊核心的方法,希望對需要的有幫助!

Linux deepin怎麼卸載不用的舊內核

首先列出目前已安裝的核心

dpkg --get-selections| grep linux

Linux deepin怎麼卸載不用的舊內核

#例如要卸載linux5.1.9 則執行指令:

sudo apt remove --purge linux-headers-5.1.9-050109

Linux deepin怎麼卸載不用的舊內核

除了linux-header,還需要卸載linux-modules和linux-image -unsigned

指令:

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

這樣就把5.1.9核心卸載掉了.

更多linux技術文章,請造訪linux使用教學專欄!

以上是Linux deepin怎麼卸載不用的舊內核的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:segmentfault.com。如有侵權,請聯絡admin@php.cn刪除