Home » China » How to install Linux Kernel 5.9 on Fedora 32?

How to install Linux Kernel 5.9 on Fedora 32?

Update: The Fedora kernel and QA teams have organized a test week from Monday, October 26, 2020 through Monday, November 02, 2020. After which, Kernel 5.9 (non-vanilla) has been made available on F32 and F33 repos.

In an earlier post, I shared an article from TechRepublic talking about Linux Kernel 5.9.

I even found an article here detailing how to install such kernel on Fedora 33 Beta, so I tried to follow the same steps on my machine running Fedora 32, but it failed with the following error:

$ sudo dnf install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm
....
elrepo-release-8.0-2.el8.elrepo.noarch.rpm 4.7 kB/s | 12 kB 00:02
Error:
Problem: conflicting requests
- nothing provides glibc = 2.28 needed by elrepo-release-8.0-2.el8.elrepo.noarch
(try to add '--skip-broken' to skip uninstallable packages)

As I did want to try out the Linux Kernel 5.9 without breaking my machine, I decided to look at Fedora’s Kernel Vanilla Wiki, where I found out that they do have a Kernel 5.9 flavor installable on Fedora 32.

Here are the steps I followed to install the 5.9 kernel:

  1. Download the definitions for the Kernel vanilla repositories:

$ curl -s https://repos.fedorapeople.org/repos/thl/kernel-vanilla.repo | sudo tee /etc/yum.repos.d/kernel-vanilla.repo

2. Download the definitions for the Kernel vanilla repositories (at the time of posting, the latest release was 5.9.1-36):

$ sudo dnf --enablerepo=kernel-vanilla-stable update

3. Reboot the machine and boot up from the 5.9 kernel entry at the grub menu

Et Voilà, you now have kernel 5.9 available on your Fedora system. Enjoy!

2 thoughts on “How to install Linux Kernel 5.9 on Fedora 32?

  1. Leo says:

    Sadly, the fix does not work. the second step gives me:

    No such command: –enablerepo=kernel-vanilla-stable. Please use /usr/bin/dnf –help
    It could be a DNF plugin command, try: “dnf install ‘dnf-command(–enablerepo=kernel-vanilla-stable)'”

    (the suggested command also does not work

Comments are closed.