Step 1 : Download the Source Code
In this program, you are going to learn
How to ?
Topics in this section,
Make sure current dir is $HOME
$ cd $HOME
Open the terminal and use the wget command to download the Linux kernel source code:
$ wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.0.7.tar.xz
The output shows the “saved” message when the download completes as shown below:
--2024-05-20 11:49:01-- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.0.7.tar.xz
Resolving cdn.kernel.org (cdn.kernel.org)...
151.101.153.176
Connecting to cdn.kernel.org (cdn.kernel.org)|151.101.153.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 133884956 (128M) [application/x-xz]
Saving to: "linux-6.0.7.tar.xz"
linux-6.0.7.tar.xz 100%[================================================================================================>] 127.68M 18.2MB/s in 8.5s
2024-05-20 12:19:31 (15.0 MB/s) - "linux-6.0.7.tar.xz" saved [133884956/133884956]