Wednesday, September 10, 2014

Updating to CUDA 6.5 on Fedora 20

Assuming you installed CUDA 6 following my previous guide, updating to 6.5 is pretty simple, first, remove the old (Fedora 19) repo:


# yum remove cuda-repo-fedora19


Now, update to the new Fedora 20 CUDA 6.5 repo:


# rpm -ivh http://developer.download.nvidia.com/compute/cuda/repos/fedora20/x86_64/cuda-repo-fedora20-6.5-14.x86_64.rpm


Update CUDA (still haven't fixed the EULA spam):


# yum update cuda cuda-cross


Finally, update the paths you export to the following:


export PATH=/usr/local/cuda-6.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:$LD_LIBRARY_PATH


Note for users of the RPM Fusion 'akmod-nvidia' package: The above will update your driver to the Nvidia version of 'akmod-nvidia' (340.29-2 at the time of this writing) unless you are running the newer version from the RPM Fusion testing repo. This was fine with me. I do not know if it is possible to successfully use CUDA 6.5 with an older driver.

No comments:

Post a Comment