Skip to content

Instantly share code, notes, and snippets.

@tejasraman
Created August 17, 2022 21:26
Show Gist options
  • Save tejasraman/a277d7b3565e24bdac4587e16f04e9f8 to your computer and use it in GitHub Desktop.
Save tejasraman/a277d7b3565e24bdac4587e16f04e9f8 to your computer and use it in GitHub Desktop.

Compiling the Linux Kernel on Fedora 36

  1. Type sudo dnf install gcc flex make bison openssl-devel elfutils-libelf-devel dwarves openssl

  2. Download the Linux Kernel source from kernel.org

  3. type make menuconfig to make the nCurses config menu

  4. Enable options in the menu and press "esc esc" to save config

  5. Run "make -J$(getconf _NPROCESSORS_ONLN)"

To Install:

  1. Run sudo make modules_install

  2. Run sudo make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment