美文网首页
升级内核 debian 9 linux

升级内核 debian 9 linux

作者: cyzyjin | 来源:发表于2018-10-21 16:01 被阅读0次

4.15 amd64升级到4.16 amd64

快速升级方法

apt-get dist-upgrade    #使用apt-get来快速升级,系统自动升级,但不会删除旧内核,要手动删除。
捕获.PNG

然后卸载旧内核

手动升级方法

查看内核版

dpkg -l | grep linux-image

例如:我的内核版本为 4.15.0 amd64


深度截图_选择区域_20190328102219.png

安装最新的内核
查看最新内核版本

apt-get install linux-image*
深度截图_选择区域_20190328103434.png

最新内核版本 linux-image-4.16

apt-get install linux-image-4.16*-amd64

找到想要的内核版本并安装


深度截图_选择区域_20190328103257.png

安装完后重启系统

reboot

卸载旧内核

dpkg -l | grep linux-image
apt-get remove linux-image*    #卸载后旧内核还放在那里
apt-get purge linux-image*   #想清除软件包的配置就执行
linux-image* 【*】的意思是内核版本号

在次重启

reboot
深度截图_选择区域_20190328110307.png

相关文章

网友评论

      本文标题:升级内核 debian 9 linux

      本文链接:https://www.haomeiwen.com/subject/ovmbzftx.html