[Linux kernel] Compile the Linux kernel① (Download the Linux kernel source code of the specified version | Meaning of Linux kernel version number | Major version number | Minor version number | Minor version number | Stable version )





1. Download the Linux kernel




1. Download the latest version of the Linux kernel


Go to the official Linux kernel website https://www.kernel.org/ to download the Linux kernel, click the yellow "Latest Release" insert image description herebutton on the right to download the latest Linux kernel release;

insert image description here

The latest version of the Linux kernel has 122MB;

insert image description here


2. Download the specified version of the Linux kernel


Target: Download 5.6.14 5.6.145.6.14 version of the Linux kernel ;

  • Major version number: 5 55
  • This version number: 6 66
  • Minor version number (number of revisions): 14 1414

In the Linux kernel official website https://www.kernel.org/ page, click the https://www.kernel.org/pub/ link,

insert image description here

Go to the Linux kernel public page, go to https://mirrors.edge.kernel.org/pub/ page,

insert image description here

Click the linux directory, go to the https://mirrors.edge.kernel.org/pub/linux/ page,

insert image description here
Click the kernel link, go to https://mirrors.edge.kernel.org/pub/linux/kernel/ page,

insert image description here
Select the v5.x version, go to https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ page, in this interface you can directly download the linux-5.6.14.tar.gz file, this is 5.6.14 5.6.145.6.14 version Linux kernel source code ;

insert image description here





2. The meaning of the Linux kernel version number



Take 5.6.14 5.6.14Example for version 5.6.14 : _ _

  • Major version number: 5 55
  • Minor version number: 6 66
  • Minor version number (number of revisions): 14 1414

Version stability:

  • Stable version: The minor version number is an even number, indicating that this version of the Linux kernel is a stable version that can be used.

  • Unstable version: If the minor version number is odd, it means that in this version, a new module has been added, and the stability cannot be guaranteed, such as 5.7.14 5.7.145.7.14 is the unstable version , _

Guess you like

Origin blog.csdn.net/han1202012/article/details/123652685