Downloading Kernel Source Code
This section describes how to obtain the correct kernel source code version and decompress the kernel source code.
- Download the kernel source package to the local PC according to Software Environment, upload it to the /usr/src/kernel directory on the server, and decompress the kernel source package.
- For openEuler 22.03 LTS SP1, download, upload, and decompress the kernel-5.10.0-136.12.0.zip package.
- For openEuler 22.03 LTS SP3, download, upload, and decompress the kernel-5.10.0-182.0.0.zip package.
1 2
cd /usr/src/kernels unzip kernel-5.10.0-136.12.0.zip
- Suppress the local version number.
1 2
cd /usr/src/kernels/kernel-5.10.0-136.12.0 touch .scmversion
Parent topic: Compiling the Kernel