Page 1 of 1

nvidia driver on centos 7.5

Posted: 2018/05/16 20:05:35
by yah
hi,

i'm trying to install the nvidia cuda driver cuda_9.1.85_387.26_linux.run but it fails b/c it can't find the kernel source.


[/tmp/selfgz32454/NVIDIA-Linux-x86_64-387.26/kernel/nvidia/nv-instance.o]

Error 1

make[3]: ***

[/tmp/selfgz32454/NVIDIA-Linux-x86_64-387.26/kernel/nvidia/nv-frontend.o]

Error 1

make[3]: Target `__build' not remade because of errors.

make[2]: *** [_module_/tmp/selfgz32454/NVIDIA-Linux-x86_64-387.26/kernel]

Error 2

make[2]: Target `modules' not remade because of errors.

make[1]: *** [sub-make] Error 2

make[1]: Target `modules' not remade because of errors.

make[1]: Leaving directory `/usr/src/kernels/3.10.0-862.2.3.el7.x86_64'

make: *** [modules] Error 2

The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.

the kernel source files are there

# uname -r
3.10.0-862.2.3.el7.x86_64
# rpm -qa kernel-headers
kernel-headers-3.10.0-862.2.3.el7.x86_64
# rpm -qa kernel-devel
kernel-devel-3.10.0-862.2.3.el7.x86_64

is anybody else having issues installing the driver?

thanks,

yah

Re: nvidia driver on centos 7.5

Posted: 2018/05/16 22:25:56
by jlehtone
You do attempt source install because? ...

Did you try the yum repo:
https://developer.nvidia.com/cuda-downl ... rpmnetwork

Re: nvidia driver on centos 7.5

Posted: 2018/05/17 14:55:33
by yah
hi,
thanks for the suggestion. the problem is that i just want to install the driver, not the cuda environment. i tried going to this site
https://www.nvidia.com/Download/index.aspx

but i'm getting:

System Message

Please try again at a later time. Sorry for the inconvenience.

yah

Re: nvidia driver on centos 7.5

Posted: 2018/05/17 15:19:29
by stevemowbray
If you just want the driver, get it already packaged up from elrepo http://elrepo.org/tiki/tiki-index.php