Check Linux kernel version

What is the kernel version of the linux kernel source code cloned from git? A memo of the procedure to check when it happens.

Check VERSION, PATCHLEVEL, SEBLEVEL at the beginning of Makefile (from the second line because there is a description of SPDX License) directly under the directory of kernel code that was git cloned.

$ cd linux
$ cat Makefile
#SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 8
SEBLEVEL = 0
EXTRAVERSION =
:

Recommended Posts

Check Linux kernel version
[LINUX kernel rebuild] Version upgrade (4.18.0 → 5.8.8)
How to check Linux OS version
Django version check
[OpenLDAP] Version check
About Linux kernel parameters
Linux kernel release 5.x (2/4)
Linux kernel release 5.x (3/4)
Linux kernel build time
Get the latest Linux kernel version with Arch Linux
Linux kernel release 5.x (4/4)
Check capacity on Linux
Linux kernel release 5.x (1/4)
Check version with python
Check the type and version of your Linux distribution
Linux Kernel Build for DE10nano
Self-build linux kernel with clang
What is the Linux kernel?
Check running Linux's kernel configs
Check TTL on Linux router
Check OpenSSL version of python 2.6
Linux PC spec check command
Error resolution python version check
Commands and files to check the version of CentOS Linux
Linux kernel memory model related documentation
Linux kernel, its 29-year history report
Try the Linux kernel lockdown mechanism
Bitnami Redmine (Linux version) recovery procedure
[Linux] [kernel module] Create kthread in kernel module
Linux
linux (kernel) source analysis: system call call
Linux non-volatile memory (NVDIMM) support (2020 version)
Semi-definite matrix check of convolution kernel
[Linux] Summary of middleware version confirmation commands
How to check the version of Django
A quick overview of the Linux kernel
How to check opencv version in python
Tools used to check Linux network communication
Compiling the Linux kernel (Linux 5.x on Ubuntu 20.04)