Rate This Document
Findability
Accuracy
Completeness
Readability

Downloading Kernel Source Code

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