Installing Nvidia drivers on CentOS 8
Posted: 2020/06/10 00:17:55
Hi, when trying to install the proprietary NVIDIA drivers for my Gigabyte Geforce 1650 SUPER, I get the same error messages as described in this post about CentOS 7:
viewtopic.php?t=70510
I tried pointing dkms to the /lib/modules/4.18.0-147.el8.x86_64/ (which in fact exists, and with a "source" file) directory manually using --kernelsourcedir, but it still can't find the files.
I added ElRepo as advised by TrevorH, but the package manager can't seem to find nvidia-detect. What's my next step?
viewtopic.php?t=70510
Code: Select all
Failed to run `/usr/sbin/dkms build -m nvidia -v 440.02 -k 4.18.0-147.el8.x86_64`: Error! echo
Your kernel headers for kernel 4.18.0-147.el8.x86_64 cannot be found at
/lib/modules/4.18.0-147.el8.x86_64/build or
/lib/modules/4.18.0-147.el8.x86_64/source
You can use the --kernelsourcedir option to tell DKMS where it's located.
I added ElRepo as advised by TrevorH, but the package manager can't seem to find nvidia-detect. What's my next step?