Fedora 25 - Cuda 9 RC

Initial attempts at installing via either the command line installer or rpm would fail with graphics driver error not installed due to lack of kernel-sources. (they are present and didn’t work when forced with --kernel-source-path=)

./cuda_9.0.103_384.59_linux.run --kernel-source-path /usr/src/kernels/4.11.12-200.fc25.x86_64/kernel/

Would fail

  • the previous driver would build fine.

The only way I could make progress was to extract the packages:

./cuda_9.0.103_384.59_linux.run --extract /root/cudaextract

Then manually install the driver:


followed by a telinit 5 to bring up the graphical desktop to check its working and telinit 3 to go back to the console.

Next I installed Cuda 9 - but not from the actual extracted package this gives a checksum error (yet the whole cuda_9.0.103_… has a valid md5sum???) - maybe that’s the problem?

Cuda 9 is installed via,


use n for the driver install (its already installed) and as you wish for other options.

Cuda 9 installs and promptly says its not. - I think this is in error since at least,

"/usr/local/cuda-9.0"/bin/nvcc -ccbin clang  -I/home/lab/cuda9samples/NVIDIA_CUDA-9.0_Samples/common/inc/ -m64 --ptxas-options=-v    -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -o test-cuda.o -c test-cuda.cu ; "/usr/local/cuda-9.0"/bin/nvcc -ccbin clang -m64 --ptxas-options=-v      -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -std=c++11 -o test-cuda test-cuda.o  -lcufft -lpthread

Resulted in a binary that worked.

Hope this is of some help to others trying the release candidate.


What do you mean “promptly says its not” ?

Do you mean that if you type


it says its not installed?

No not nvcc, the installer gave an error that the cuda 9 install had failed. Yet all the files were still present and typing nvcc

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Mon_Jun_26_16:13:28_CDT_2017
Cuda compilation tools, release 9.0, V9.0.102

So its installed just not cleanly or without error from the installer. I suspect theres a problem with the checksum for the cuda 9 installer inside the .run file.

Checking the whole download first:-

The .run file md5sum:

ec642f1cc771f20245b1816d619c5661  cuda_9.0.103_384.59_linux.run

which is correct according the the list of m5sums on the developer site.

Yet if the extracted cuda 9 package is run (outside of the cuda_9.0.103_384.59_linux.run file) then the md5sum is in error:-

Verifying archive integrity...Error in checksums: 2239578912 is different from 3227340307

Oddly running the cuda_9.0.103_384.59_linux.run alone, skipping the driver install and installing everything else it
seems to work (but still complains the install failed) - I didn’t capture the text for that error otherwise Id paste the
exact error here.

samples build ok.