I was working on a video about the features of Linux Kernel 7.0, including quantum-safe ML-DSA and BPF io_uring. In the process, I ended up compiling and installing Linux 7.0.0 on my Fedora 43. I thought you might enjoy experimenting with it as well (be careful please :D)
These are the easy steps:
- install prerequisite:
sudo dnf install ncurses-devel elfutils-libelf-devel openssl-devel rpm-build flex bison - download the latest kernel from kernel.org
- extract using
untar xfand enter the directory - make sure your directory is clean
make mrproper - copy your current configs by
cp /boot/config-$(uname -r) .config - update your config using
make oldconfig - view the .config or even edit it via
make menuconfig - build 😀
make -j$(nproc)#may take long - Install the modules with
sudo make modules_install - and install the kernel & configure the grub with
sudo make install - Reboot and have fun watching your
uname -a
For me it went super smooth. If anything fails you should be able to use your older kernel and be cautious about your steps… you are fiddling with the Kernel 😀