[Ubuntu 16.04] Install cuda 7.5

Hi to everybody,
I read a lot of information on this forum but I have no written until today.

This is my question: has anybody tried to install cuda 7.5 on Ubuntu 16.04?

From nvidia site, I see only .run of Ubuntu 14.04 and 15.04.

Thanks

Hi

I tried to install cuda 7.5 for Ubuntu 14.04 on both Ubuntu 16.04 and Kubuntu 16.04, with little to non success.

The error I get when using the runfile is “Using unsupported Compiler” since the 16.04 has the gcc 5.3.1 compiler.

When using the deb-files they get is:

nvidia-cuda-toolkit are in conflict with cuda-repo-ubuntu1404
cuda-repo-ubuntu1404 (version 7.5-18) will be installed.
dpkg: error in handling the archive cuda-repo-ubuntu1404_7.5-18_amd64.deb (–install):

if this also i due to wrong gcc version or kernel version I’m not certain.

Got the same errors trying the 15.04 version as well.

I guess we have to wait until they have made a new compilation for 16.04.

Hi, I have test the same binaries and I’ve got the same errors.

I hope Cuda 7.5 will be compile for Ubuntu 16.04, because it is a LTS version. Otherwise we have to wait next Cuda release :(

You don’t need to compile because CUDA 7.5 toolkit is in your repo’s.

I had the same problem as you, and looking for a solution I found this post in the forum.

Check this guys blog. This guy has installed cuda 7.5 i ubuntu 16.04.

I went down the path recommended by rutrus. Was anybody else trying to get TensorFlow setup by any chance? Seems like that install isn’t happy with the fact that Ubuntu installs the CUDA toolkit under /usr instead of /usr/local/cuda.

I was able to get TensorFlow working by installing CUDA 7.5 through the method rutrus pointed to. Just had to copy the required CuDNN library to correct location.

Hi,

I just spoke with somebody at customer service concerning whether cuda 7.5 would be made available for Ubuntu 16.04. He told me to post this question on the forum and that somebody at NVIDIA would provide answer.

Not likely.

If you want to use Ubuntu 16.04, the recommended CUDA version is CUDA 8 at this time.

Thanks.

The CUDA download page doesn’t seem to offer this option (only offer version 7.5 for 64bit Ubuntu 14.04), see
CUDA Toolkit 11.7 Update 1 Downloads | NVIDIA Developer

Could you point to where to download the appropriate files and instructions for installing on 64bit Ubuntu 16.04?

The thread below suggests that it works in some cases but not all. Is there any official NVIDIA documentation on this?
https://devtalk.nvidia.com/default/topic/938988/-solved-cuda-8-0-on-ubuntu-16-04-gpu-not-available/

Alternatively: I could switch back to Ubuntu 14.04 and install CUDA 7.5 without too much pain. Would you recommend this approach (i.e. is CUDA 8 still experiencing growing pains at this time, as suggested by the thread above)?

Go to this page which you linked:

https://developer.nvidia.com/cuda-downloads

Look for the text at the top of this page like this:

CUDA Toolkit 8 RC with support for Pascal based GeForce GTX 1080....

Starting reading and clicking there. To access CUDA 8 RC you must be a registered developer.

The CUDA 8 RC toolkit includes a linux install guide which is linked from the download page. When you get to the point where you can actually download the Ubuntu 16.04 toolkit, look at the bottom of that page for the link to the install guide.

Hi txbob,

Thanks for this. Looks to me like this is not for the casual user. Is there a timeline for releasing version 8 to a general non-specialist audience? In the meantime, I think I’ll revert to Ubuntu 14.04 / CUDA 7.5

Cuda 7.5 does indeed work with ubuntu 16.04. I have installed it and been using it without any problems. Just download and install via the .run file listed for 15.04 (http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run).