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?
sudo find / -name nvcc
. If that turns up nothing, then the simple fact is that CUDA did not get installed on your computer. In that case, I would suggest starting over with a clean OS load of Ubuntu 14.04 and repeat the install steps from the guide you linked.dpkg -L cuda
will show you where all the files installed by that package are located. This is much more a Ubuntu package management question than anything to do with CUDA, and I have voted to close it as suchpacman
)cuda
orcuda-tools
, thennvcc
is present in/opt/cuda/bin
. Add that to your$PATH
to usenvcc
easily.