命令如下:
dpkg --get-selections|grep linux
此命令列出所有安装的内核版本
sudo apt-get remove linux-image-2.6.24-12-generic
linux-image-xxxxxx-generic就是要删除的内核版本
本文介绍了一种在Linux系统中管理内核版本的方法。通过使用dpkg命令来查看已安装的所有内核版本,并利用apt-get命令来移除指定版本的内核。这对于保持系统的稳定性和安全性非常有用。
命令如下:
dpkg --get-selections|grep linux
此命令列出所有安装的内核版本
sudo apt-get remove linux-image-2.6.24-12-generic
linux-image-xxxxxx-generic就是要删除的内核版本

被折叠的 条评论
为什么被折叠?