Kernel-core-5.5.11-200.fc31.x86_64 missing a link

ls -la /lib/modules/5.5.11-200.fc31.x86_64/
total 20476
drwxr-xr-x. 6 root root 4096 Mar 28 09:24 .
drwxr-xr-x. 3 root root 4096 Mar 28 18:57 …
lrwxrwxrwx. 1 root root 39 Mar 23 17:45 build -> /usr/src/kernels/5.5.11-200.fc31.x86_64

/usr/src/kernels/5.5.11-200.fc31.x86_64 is missing
what package do I need to install to get this directory installed?

FJH

the package that contains that directory is

kernel-devel

2 Likes

You can usually find out what provides the required file or directory by using the command “dnf provides filename” or in your case

dnf provides /usr/src/kernels/5.5.11-200.fc31.x86_64