Compiling a Kernel

Discussion in 'Kernel Questions' started by Jameson Taylor, Mar 15, 2024.

  1. Jameson Taylor

    Jameson Taylor New Member

    Hello!
    I am new to Linux a task that I am currently trying to figure out is how to compile kernels what is the best way to do so?
    Thanks!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    For what purpose would this compiled kernel be used?
    Did you solve the command line exporting and importing problem in your previous thread?
     
  3. pyte

    pyte Well-Known Member HowtoForge Supporter

    Download the kernel sources from kernel.org in the version you want. Extract the archieve to a folder and then do whatever you want to do.
    The Gentoo Wiki has some basic overview to get startet. However be aware that you should know what you are doing before using a custom kernel in production. If you want to learn that process in depth Gentoo is a good way of learing such things.

    https://wiki.gentoo.org/wiki/Kernel/Configuration
    https://kernel.org/
     

Share This Page