


# Installing the required packages for the kernel compilation process The team behind CentOS will definitely publish a newer version if the existing one has some problems that can affect stability or security. So, with the guidance given below, you work only if you really need latest kernel for some reason.


Of course, my recommendation is to update the kernels only from the official CentOS repo (base and updates repos) because these versions have been tested and tested in the work by CentOS dev team so the chance to something goes bad is almost zero…. In some of the future posts, I will set up the installation process in an easier way, through the elrepo-kernel repository. The manual installation of the new kernel will take a long time (it may take several hours) so do not be surprised – the system is doing normal for that time because you are booted into the current kernel and as long as it is there, there is no worry. If you are doing a kernel update please make a backup system – just for any case, or if you use some kind of virtualization, do a snapshot of the system, and if after a while there are no problems in the work … you can delete a snapshot – surely if the kernel does not show up well you can always boot system from the older kernel and pretend where were nothing bad happens. I will do an installation on CentOS 7 Minimal with a yum update -y done. With this instruction, I will just briefly go through the process of installing the currently latest kernel (on when this instruction is written, the latest version was labeled 4.13.8) without any additional changes ( check the released versions), deeper configurations, eject unnecessary things and choosing options through a configuration file. CentOS is primarily a Linux distribution designed for servers, so for example, recognizing a newer audio or network card is not a priority, but if there is a security flaw within the existing kernel version – CentOS and Red Het will release updates through a standard repository that can be installed with simple yum update, not from ‘zero’ as it will be here in this tutorial.
