1

On my NVidia Jetson TK1 I ran this command:

sudo apt-get install cuda-toolkit-6-0

But got this output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cuda-toolkit-6-0

In the installation instructions on elinux.org, written by NVidia, they very clearly say to install cuda-toolkit-6-0. What could be going on? Can I search the apt-get repository for all packages containing the word "cuda"? It seems odd that NVidia would mess up such a basic instruction, and I'm pretty sure people are using this machine explicitly for cuda applications.

The only difference from their instructions was when I downloaded cuda-repo-l4t-r19.2_6.0-42_armhf.deb, I allowed the Ubuntu Software Center to do the install instead of using sudo dpkg -i cuda-repo-l4t-r19.2_6.0-42_armhf.deb. I don't think that should be an issue though.

1

I would say that the instructions are outdated. They mention CUDA 6.0 and Ubuntu 12.04, whereas the nVidia downloads page mention CUDA 6.5 and Ubuntu 14.04. There's no evidence that the wiki page you link to is written by nVidia, so it's not a surprise to me.

| improve this answer | |
  • Suggest adding a link to the official NVIDIA Download CUDA Toolkit 6.5 webpage. CUDA Toolkit 6.5 has a new feature to allow you to develop or recompile your applications to run on 64-bit ARM systems with NVIDIA GPUs – karel Nov 11 '14 at 9:11
  • @karel why? If it were relevant nVidia would have linked to that on the nVidia Jetson page. – muru Nov 11 '14 at 9:13
  • Because the OP mentioned that he already downloaded cuda-repo-l4t-r19.2_6.0-42_armhf.deb the OP may also be interested in using CUDA with an ARM system, in which case the OP could install CUDA 6.5 from the official NVIDIA CUDA website. – karel Nov 11 '14 at 9:17
  • @karel That's because OP is following outdated instructions. The link on developer.nvidia.com/jetson-tk1-support is for cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb, a newer version. – muru Nov 11 '14 at 9:18
  • This is constructive because it would be better for the OP to know what his requirements are before he starts to install and uninstall software. The Ubuntu CUDA Toolkit 6.5 installer packages from the official NVIDIA CUDA website include NVIDIA drivers, so if the OP has already installed the proprietary NVIDIA graphics driver from the Ubuntu Software Center, it would have to be uninstalled too beforehand. – karel Nov 11 '14 at 9:24
1

In Ubuntu 14.04 and Ubuntu 14.10 you can install nvidia-331, NVIDIA CUDA toolkit and the NVIDIA CUDA 5.5 Runtime library directly from the default Ubuntu repositories. libcudart5.5 is the package name of the NVIDIA CUDA runtime library. libcudart5.5 requires the nvidia-331 or more recent graphics driver. There is also an NVIDIA CUDA toolkit package (nvidia-cuda-toolkit) in the default Ubuntu repositories for Ubuntu 14.04 and Ubuntu 14.10, and like libcudart5.5 it is also version 5.5.

In Ubuntu 15.04 and Ubuntu 15.10 libcudart5.5 has been upgraded to libcudart6.5, and the nvidia-cuda-toolkit like libcudart6.5 is also version 6.5.

In Ubuntu 16.04 libcudart has been upgraded to libcudart7.5, and the nvidia-cuda-toolkit like libcudart7.5 is also version 7.5.

| improve this answer | |
  • on search in the software center i got two options for cuda toolkits. i ended up getting cuda-toolkit-6-5 (~1gb). the other option was cuda-minimal-build-6-5 (~40mb). – user391339 Nov 11 '14 at 8:52
  • cuda-toolkit-6-5 and cuda-minimal-build-6-5 are not from the Ubuntu repositories. Either you have already installed them or you have added a third-party repository that has those two packages to your software sources. If so, you should remove that third-party repository using sudo add-apt-repository -r <repo to remove> && sudo apt-get update where you replace <repo to remove> with the name of the repository to be removed. After you have removed that third-party repository from your software sources, the Software Center will again show the CUDA packages from the Ubuntu repositories. – karel Nov 11 '14 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.