I am running Fedora 31, on kernel ‘5.4.8-200.fc31.x86_64’. I’m trying to get VirtualBox working, and here’s the old classic… the kernel modules won’t compile. I installed kernel-headers, kernel-devel, elfutils-libelf-devel, etc. Still won’t compile since it can’t find the headers. I was confused because I had installed them. I double-checked, and the version it installed was slightly different.
I double-checked the dnf repo, and they’re not there. Googled the internet, but no joy. So the question is, does a kernel-headers package exist for 5.4.8-200? If not, how do I get those kernel modules to compile?