As you can see, there are several ways to do this that can be useful in scripts and on screen output. Type in your sudo password to authorize the installation and then press y and Enter to confirm. Use the following command: sudo yum install redhat-lsb-core 2. This article lists some of the options available in the repositories with a brief. There are various alternative Linux kernels available for Arch Linux in addition to the latest stable kernel. Knowing the kernel version is easy to be useful for administrative tasks. Before you can use lsb commands, you have to install the package first. According to Wikipedia: The Linux kernel is an open-source monolithic Unix-like computer operating system kernel. It is useful because in certain administrative tasks, we need to know which version we are running to make decisions about whether to upgrade or maintain it.Īlso in compilation processes it is also useful to take advantage of features of the current version. This way, you can find out what version of the kernel you have on the system. You will get an output screen like this 5.14.86_64 This tool is present not only in CentOS but also in other systems. Output: 1.- check the Linux kernel versionĪnother way to do this is to use the uname command but add the -r option. Please check your distribution-specific documentation to find information about the installed kernel version and its corresponding mainline version. The first way to get the kernel version is to use the hostnamectl command, this command returns other valuable system information. Thankfully, kernel panics do not happen very often using mainline versions of the kernel-such as those supplied by the official repositories-but when they do happen, you need to know how to deal with them. So open the terminal from the main menu and first update the whole system. The Linux kernel is an open-source monolithic Unix-like computer operating system kernel. To get the kernel version on a system, we can do it via the terminal using several methods. Check Linux kernel version in CentOS 9 Stream To achieve this, it is best to do it via the terminal because we can run it on servers and desktop systems. This will help you in administrative tasks to know an essential component of the system, such as the kernel. Knowing the kernel version in a Linux operating system. The script above will keep the modules of the currently running kernel. There is not way to find it other than using the file names or the package manager of your distro. In this very short post, you will learn how to check the Linux kernel version in CentOS 9 Stream. The directory entry names are the same as uname -r for all the kernels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |