Step 1 : Download the Source Code ================================= .. tab-set:: .. tab-item:: Download the Source Code * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Download the Source Code (aarch64-none-elf) ` .. _barelinux_x86_64_step1_0: .. tab-set:: .. tab-item:: Download the Source Code * Make sure current dir is $HOME .. code-block:: c $ cd $HOME * Open the terminal and use the wget command to download the Linux kernel source code: .. code-block:: c $ 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: .. code-block:: c --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]