1.查看当前系统的内核版本: [root@localhost ~]# uname -a Linux localhost 4.14.52-v7.1.el7 #1 SMP Thu Jun 28 08:25:49 UTC 2018 armv7l armv7l armv7l GNU/Linux 2.查看当前系统中的全部内核包: [root@localhost ~]# rpm -qa | grep kernel kernel-headers-4.14.28-201.el7.centos.armv7hl raspberrypi2-kernel-devel-4.14.43-v7.1.el7.armv7hl raspberrypi2-kernel-4.14.52-v7.1.el7.armv7hl raspberrypi2-kernel-4.14.27-v7.1.el7.armv7hl raspberrypi2-kernel-devel-4.14.52-v7.1.el7.armv7hl 3.删除旧内核 yum -y remove kernel-headers-4.14.28-201.el7.centos.armv7hl yum -y remove raspberrypi2-kernel-devel-4.14.43-v7.1.el7.armv7hl yum -y remove raspberrypi2-kernel-4.14.27-v7.1.el7.armv7hl yum -y remove raspberrypi2-kernel-devel-4.14.52-v7.1.el7.armv7hl 4.重启 [root@localhost ~]# reboot