Downloading
-
3. Downloading Linux Kernel
Download Linux Kernel 5.12 Source Code for Debian GNU/Linux
Grab the tar.xz or tar.gz Archive from the List.
-
4. Extracting Linux Kernel Archive
Then Extract Linux Kernel into the target Directory
First, access it:cd ~/kernel
Then to untar the downloaded Kernel Source into the current Folder run:
tar -xavf ~/Downloads/linux*.tar.xz
But if you got “No such file” then see: How to Access Downloads Folder from Browser.
Last, copy the Source into the default location:sudo cp -r ./linux* /usr/src/
Contents