Remove kernel In CentOS8

Posted lnlidawei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Remove kernel In CentOS8相关的知识,希望对你有一定的参考价值。

Remove kernel In CentOS8

 

 

1. check up using kernel :

[root@test ~]# uname -a
Linux test 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9 13:49:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 

 


2. check up kernel:

[root@test ~]# rpm -qa | grep kernel
kernel-modules-4.18.0-147.el8.x86_64
kernel-devel-4.18.0-147.8.1.el8_1.x86_64
kernel-devel-4.18.0-147.el8.x86_64
kernel-modules-4.18.0-147.8.1.el8_1.x86_64
kernel-headers-4.18.0-147.8.1.el8_1.x86_64
kernel-tools-4.18.0-147.8.1.el8_1.x86_64
kernel-tools-libs-4.18.0-147.8.1.el8_1.x86_64
kernel-4.18.0-147.el8.x86_64
kernel-core-4.18.0-147.el8.x86_64
kernel-4.18.0-147.8.1.el8_1.x86_64
kernel-core-4.18.0-147.8.1.el8_1.x86_64

 

 

3. remove kernel:

[root@test ~]# dnf remove kernel-core-4.18.0-147.el8.x86_64

 


4. reboot :

[root@test ~]# reboot

 

 

 

以上是关于Remove kernel In CentOS8的主要内容,如果未能解决你的问题,请参考以下文章

remove()

Ubuntu Remove Mysql.service in Systemctl

LeetCode 1209. Remove All Adjacent Duplicates in String II

1047. Remove All Adjacent Duplicates In String

1047. Remove All Adjacent Duplicates In String

How to Remove Table Partitioning in SQL Server