Try to update kernel latest but not shown in list available kernel. I check the repo list on the mirror site kernel 5 are listed there.
Is there someone have the same issue and solution for it.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
What do you mean by "latest"? You are using a Linux distribution which comes with a pre-compiled kernel. CentOS is derived from Redhat. Redhat backport security and bug fixes, so you don't need to be too caught up in the package versions when compared to upstream sources. If you run 'yum update' it is getting you the best packages including the kernel available from the repositories.
You should see this FAQ on the topic of backporting...
If you really must use a kernel straight from kernel.org, in my experience there are other distros which are more congruent with that, as Redhat require certain kernel modules to be in the initramfs.
There are attempts to document how to compile a kernel from source, but it isn't for the faint of heart and I'm not going to do the "Stack Exchange" standard of writing an entire book on how it is done. I don't think this is what you want, but for the sake of getting a picture of what is involved in kernel compiling, here is a brief online guide.