I'm trying to install CUDA 7.5 in my ubuntu 14.04. I followed everything in this guide (installation through package): http://developer.download.nvidia.com/compute/cuda/7.5/Prod/docs/sidebar/CUDA_Installation_Guide_Linux.pdf until post build section. Mainly, by running the following commands:
sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb sudo apt-get update sudo apt-get install cuda
The thing is the folder /usr/local/cuda* does not exist after successful CUDA installation. Further trying to install cuda says that it is already the newest version.
sudo apt-get install cuda Reading package lists... Done Building dependency tree Reading state information... Done cuda is already the newest version. ls /usr/local/cuda* ls: cannot access /usr/local/cuda*: No such file or directory
It also does not find nvcc.
nvcc The program 'nvcc' is currently not installed. You can install it by typing: sudo apt-get install nvidia-cuda-toolkit sudo find /usr/ -name nvcc <no output>
What is wrong?
By default, the CUDA SDK Toolkit is installed under /usr/local/cuda/. The nvcc compiler driver is installed in /usr/local/cuda/bin, and the CUDA 64-bit runtime libraries are installed in /usr/local/cuda/lib64.
You can verify that you have a CUDA-capable GPU through the Display Adapters section in the Windows Device Manager. Here you will find the vendor name and model of your graphics card(s). If you have an NVIDIA card that is listed in http://developer.nvidia.com/cuda-gpus, that GPU is CUDA-capable.
Usually, it is /usr/local/cuda
. If this is not the case, you can try to locate cuda
. If you want to find directories only, run
locate cuda | grep /cuda$
or
find / -type d -name cuda 2>/dev/null
For me, it turned out to be in /opt/cuda-7.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With