查看现在使用的内核
uname -sr
![](https://i-blog.csdnimg.cn/blog_migrate/2a12a80d5ae73fd6bc528b9dc41711b7.png)
2.查看系统已经安装的内核
dpkg --get-selections |grep 'linux'
![](https://i-blog.csdnimg.cn/blog_migrate/1d670485cd562e6ef59004ce0131e31d.png)
3.先卸载headers
apt purge linux-headers-4.4.134-0404134
![](https://i-blog.csdnimg.cn/blog_migrate/e462afdc9bf914790538ccdbc1eda096.png)
再卸载images
![](https://i-blog.csdnimg.cn/blog_migrate/d82f524dda0b50399374eba6df07b2f2.png)
5.重启并验证
reboot #重启服务器
重启之后
uname -sr
![](https://i-blog.csdnimg.cn/blog_migrate/12b6a960a11152b2e27505f401e83fd2.png)
查看现在使用的内核
uname -sr
2.查看系统已经安装的内核
dpkg --get-selections |grep 'linux'
3.先卸载headers
apt purge linux-headers-4.4.134-0404134
再卸载images
5.重启并验证
reboot #重启服务器
重启之后
uname -sr