作者:admin,发布日期:2017-06-29
阅读:1858;评论:0

使用以下代码找出系统中安装的内核rpm包

rpm -qa | grep kernel

结果应该类似于以下字符

kernel-firmware-2.6.32-358.23.2.el6.noarch
abrt-addon-kerneloops-2.0.8-16.el6.centos.1.i686
kernel-devel-2.6.32-358.el6.i686
dracut-kernel-004-303.el6.noarch
kernel-2.6.32-358.23.2.el6.i686
kernel-devel-2.6.32-358.23.2.el6.i686
kernel-2.6.32-358.el6.i686
kernel-headers-2.6.32-358.23.2.el6.i686
libreport-plugin-kerneloops-2.0.9-15.el6.centos.1.i686

卸载方法

# 直接yum remove卸载即可
# 例如
yum -y remove kernel-2.6.32-358.el6.i686