安洛
2023-08-31 07:28 deepin
It has been deleted!
回去你build的目录sudo make uninstall,前提是build之后目录没动过
这是删除自己编译内核的方法
sudo rm -rf /lib/modules/3.16.63
sudo rm -rf /usr/src/linux-headers-3.16.63
sudo rm /boot/3.16.63
sudo rm /var/lib/dpkg/info/linux-headers-3.16.63*
sudo update-grub
最后一个/后面是你要删除的内核版本号,如果终端删除没有,你直接进到目录下找到手动删除对应的文件就好了,我经常这么做的
回去你build的目录sudo make uninstall,前提是build之后目录没动过
没动过目了,但没有build 目录,执行sudo make uninstall 提示没有这样的命令
这是删除自己编译内核的方法
sudo rm -rf /lib/modules/3.16.63
sudo rm -rf /usr/src/linux-headers-3.16.63
sudo rm /boot/3.16.63
sudo rm /var/lib/dpkg/info/linux-headers-3.16.63*
sudo update-grub
最后一个/后面是你要删除的内核版本号,如果终端删除没有,你直接进到目录下找到手动删除对应的文件就好了,我经常这么做的
这么能删干净吗
在坛友的推荐下,我用软件Stacer删除,好用直观。查一下以前的帖子,有使用方法。
Popular Ranking
ChangePopular Events
More
怎么卸载通过 sudo make install 安装的内核
执行:
实际上我安装了6.4.11 现在又安装了6.5,都是通过sudo make install 安装的
我想卸载6.4.11,网上的方法试了好像不行。