# Help installing cuda on linux mint

**URL:** <https://forums.developer.nvidia.com/t/help-installing-cuda-on-linux-mint/33339>\
**Category:** CUDA Setup and Installation\
**Created:** [May 21, 2014, 10:37pm UTC](https://forums.developer.nvidia.com/t/help-installing-cuda-on-linux-mint/33339 "2014-05-21T22:37:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hil2007](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hil2007](https://forums.developer.nvidia.com/u/hil2007)\
**Post date:** [May 21, 2014, 10:37pm UTC](https://forums.developer.nvidia.com/t/help-installing-cuda-on-linux-mint/33339/1 "2014-05-21T22:37:26Z")

</div>

I have been trying to install cuda on my linux mint laptop with a gtx 660 m card, but i am running into an issue.

I started with installing the nvidia drivers. Using nvidia-smi i get the following:

## ±-----------------------------------------------------+ | NVIDIA-SMI 331.38 Driver Version: 331.38 | |-------------------------------±---------------------±---------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |

| 0 GeForce GTX 660M Off | 0000:01:00.0 N/A | N/A |  
| N/A 54C N/A N/A / N/A | 196MiB / 2047MiB | N/A Default |  
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+  
| Compute processes: GPU Memory |

| GPU PID Process name Usage |
| --- |
| 0 Not Supported |
| ±----------------------------------------------------------------------------+ |
| Therefore i assume that the drivers are installed correctly and in operation. |

When i then try to install cuda with ´sudo apt-get install cuda-6-0´ i get the following:

The following packages have unmet dependencies:  
cuda-6-0 : Depends: cuda-drivers (\>= 331.00) but it is not going to be installed  
E: Unable to correct problems, you have held broken packages.

Now i am a bit stuck since nvidia-smi tells me that the correct drivers are installed while apt-get disagrees. Any insight would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [May 21, 2014, 10:52pm UTC](https://forums.developer.nvidia.com/t/help-installing-cuda-on-linux-mint/33339/2 "2014-05-21T22:52:44Z")

</div>

CUDA 6 requires 331.62 or newer. Try a newer driver. This question may be of interest:

[url][[Solved] cudaGetDevice returned error code 3, - CUDA Setup and Installation - NVIDIA Developer Forums](https://devtalk.nvidia.com/default/topic/740053/-solved-cudagetdevice-returned-error-code-3-%5B/url%5D)

and/or use one of the runfile installers:

[url][CUDA Toolkit Documentation](http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#axzz32OS7nfOx%5B/url%5D)
