![]() ![]() I am assuming that the current kernel source code is pointed by /usr/src/linux symbolic link (or the current kernel source directory). It should contain folders called arch, fs, crypto, etc. We have done unpacking the kernel and now we need to point the default linux kernel source to our newly copied kernel source which the other packages should be pointing or using from. Change the current directory into the linux-4.13.11 directory. If you are only planning to browse the latest source code then How to point to the new kernel: ![]() If it did not work then try with the following command:Īfter executing all the commands successfully a new directory (linux-4.4) would have already created in the /usr/src/kerenl-src-4.4 location. Mostly the above mentioned tar command will unpack the linux kernel archive file. $ mkdir kernel-src- (use another name if already have a kernel version installed) We will make a new directory (say kernel-src-4.4) inside /usr/src and move the new kernel archive file to the new location and start unpacking. Lets say if the downloaded file is at ~/Downloads/linux-4.4.tar.xz (I am taking an example of the latest 4.4 kernel). Now that you have downloaded the linux kernel archive which is in a zip format and needs to be extracted or unpacked. The download may take several minutes depending on the system’s internet connection where you are downloading. Use the key combination to paste the copied text into the console. The command should look something like this: $ wget So, if you want to download the kernel into a remote system then use the following command in the remote machine: $ wget So, in that case you need to copy the linux kernel download link by right clicking on the download button on the web page. Sometimes you may be working on a remote machine using a command line where you don’t have the browser access immediately. Basically this will download the kernel archive file into the local storage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |