解决centos7.5安装CUDA时报出的unable to locate the kernel source错误

龚宏壮
2023-12-01

在网上翻了各种解决方案,终于在一个国外论坛上发现一个靠谱的,赶紧记录下来。

https://stackoverflow.com/questions/38016466/installing-cuda-7-5-on-centos-7-unable-to-locate-the-kernel-source/38061187

I figure it out. It turns out I needed to install DKMS from the EPEL repository. Here are the commands I used:

sudo yum install epel-release
yum install --enablerepo=epel dkms
 类似资料: