Rate This Document
Findability
Accuracy
Completeness
Readability

Downloading Kernel Source Code

  1. Download the kernel source file to the local PC according to Software Environment, upload it to the /usr/src directory on the server, and decompress the kernel source package.
    1
    2
    3
    cd /usr/src
    tar -zxvf linux-5.15.98.tar.gz
    mv linux-5.15.98 linux-kernel-5.15.98
    
  2. Suppress the local version number.
    1
    2
    cd /usr/src/linux-kernel-5.15.98
    touch .scmversion