Linux-Mint

在 linux mint 18.2 上安裝 CUDA 8

  • May 2, 2020

我正在執行 Linux Mint 18.2 “Sonya” 並想安裝CUDA 8。當我使用包管理器安裝它時,它會安裝 Cuda 7.5:

sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit
...
nvidia-cuda-dev is already the newest version (7.5.18-0ubuntu1).
nvidia-cuda-toolkit is already the newest version (7.5.18-0ubuntu1).

我需要強制安裝版本8。怎麼做?

請按照以下步驟操作

Installation Instructions:
1 `sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb`
2 `sudo apt-get update`
3 `sudo apt-get install cuda`

摘自https://developer.nvidia.com/cuda-downloads

引用自:https://unix.stackexchange.com/questions/391378