Centos delete redundant kernel

Use the following code to find out the kernel rpm package installed in the system

rpm -qa | grep kernel

The result should be similar to the following characters

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

Uninstall method

# You can uninstall directly yum remove
# E.g
yum -y remove kernel-2.6.32-358.el6.i686

Recommended Posts

Centos delete redundant kernel
Centos7 delete useless kernel
Centos7 upgrade kernel
CentOS7.5-1804 system kernel upgrade
Centos kernel compilation configuration
CentOS6.5 upgrade kernel to 3.10.28
Centos kernel version upgrade
Debug Kernel Panic in Centos
CentOS 8 (2)
Three methods of Centos kernel upgrade
Linux: Centos7 upgrade the original kernel
CentOS 8 (1)
How to delete redundant kernels in Ubuntu