We are going to see Linux kernel update in this post.
Note: Here kernel is already upgraded one. So, we can’t show different here
Using “uname -r” command will check the current kernel version.
[root@localhost ~]# uname -r 3.10.0-514.el7.x86_64 To update the kernel use the below command.
[root@localhost ~]# yum install kernel* Again use the uname -r command to check whether the kernel has been updated or not.
[root@localhost ~]# uname -r 3.10.0-514.el7.x86_64
Will undo the upgrade or installation using yum. For that have to check the current activity of yum using “yum history list”
We can use the ID to undo the upgrade/ installed packages.
Now am going to use ID 8 do undo the kernel upgrade
#yum history undo 8 Now use the "yum history list" command to check
Again will check whether the kernel upgrade has been removed or not.
Will use same yum option to upgrade/ undo any packages in Linux.