![]() Red Hat Enterprise Linux Server release 7. Specifically uname -rv will show you the release/version. To check the Red Hat Enterprise Linux distribution version run the below command: ~]$ cat /etc/redhat-release To find out your kernel version, uname is the command you want to use. Initially, Linus was the only one working on the project, and this versioning system sufficed the need to document and distribute new kernel releases. Linux 3.10.0-1127.13.1.el7.x86_64 #1 SMP Fri Jun 12 14:34: x86_64 x86_64 x86_64 GNU/Linux Check RHEL Distribution Version When Linus first started developing the kernel, the versioning system used simply consisted of an incrementing variable scheme starting with zero ( 0.x ). and run the command uname -r or uname -a to find out the Red Hat Enterprise Linux kernel details. Login to the server and open the terminal or connect to the server through ssh using PuTTY etc. You get more system information from inxi compared to other tools.To find out the Red Hat Enterprise Linux (RHEL) 6 or 7 kernel version, use the uname command to find the information about it. Mobo: Dell model: 03NVJ6 version: A02 Bios: Dell version: A14 date: ĬPU: Quad core Intel Core2 Quad CPU Q9400 (-MCP-) clocked at 2660.096 MHz Machine: System: Dell product: OptiPlex 780 System: Host: tommy-pc Kernel: 3.16.0-38-generic x86_64 (64 bit) Desktop: Cinnamon 2.6.13 Distro: Linux Mint 17.2 Rafaela In the below example, I have run inxi on a Linux Mint 17.2 system. If youâre running OpenSUSE Leap 42.1, grab inxi from the Packman repository. Ubuntu and Linux Mint distributions now come with the inxi utility pre-installed.ĬentOS and Red Hat users can install inxi via the EPEL repository. InxiĪbother way of identifying the kernel version on your Linux system is through the extremely useful inxi tool. The above command and the following inxi command do not work on Mac OS X systems. Hereâs another simple way to determine the kernel release of your Linux system. For example to check if the current Linux headers are for kernel v2.6.16 or earlier: include if LINUXVERSIONCODE < KERNELVERSION (2.Linux tommy-pc 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43: x86_64 x86_64 x86_64 GNU/LinuxÄ«y the way, uname -r and uname -a work on Mac systems too. The linux/version.h file has a macro called KERNELVERSION which will let you check the version you want against the current linux headers version ( LINUXVERSIONCODE) installed. With uname -a, we get more information including the name of the Linux distribution. X86_64 â Processor Architecture for which Kernel is built 2. Letâs try to understand the output of uname -r in the above example:Ä¢29.20.1 â Custom kernel version from CentOS I ran the below command on a CentOS 7 Linux system. The first two commands work fine on all five systems and the last two on all Linux systems but not on Mac OS X. I have tested the below commands on CentOS 7, Ubuntu 15.04, Linux Mint 17.2, OpenSUSE Leap 42.1 and Mac OS X systems. ![]() In this post, we will explore four ways of determining the kernel release. Now you might wonder why we need to know the kernel version.Äetermining the kernel version is useful for a variety of reasons including diagnosing system errors, upgrading the system and installing correct drivers. There are multiple commands you can use to find out the kernel version/release on your system. Determining the kernel version of your Linux system is easier than stuffing a large pizza slice into your mouth.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |