I'm running Linux Mint 18.3 with the Cinnamon desktop environment, and I want to install CUDA 9.1 and NVIDIA drivers. How can I do that?

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .