4

I'm running Linux Mint 18.3 "Cinnamon" and want to install CUDA 9.1 and NVIDIA.

5
+100

I have cuda 9.1 installed on Minty 18.3 with nvidia 387 390 drivers.

This is what I did:

  1. Use the driver manager to install nvidia 390 387 (for some reason, 390 isn't working). Note the pic shows 387, but 390 works now.

    enter image description here

Get the nvidia repo from:

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1704/x86_64/cuda-repo-ubuntu1704_9.1.85-1_amd64.deb

Install nvdia's repo and repo key for ubuntu 17.04:

sudo dpkg -i cuda-repo-ubuntu1704_9.1.85-1_amd64.deb
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1704/x86_64/7fa2af80.pub

Update apt's software index

sudo apt-get update

Install cuda

sudo apt-get install cuda

Edit: one other thing. If you build the samples, you need to set GLPATH environment variable to /usr/lib: export GLPATH=/usr/lib before you run make in the samples dir.

see: https://stackoverflow.com/a/34648972/356011

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.