Difference between revisions of "Nvidia: cuda install di ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
  sudo apt-get update
 
  sudo apt-get update
 
  sudo apt-get install cuda
 
  sudo apt-get install cuda
 +
sudo apt-get install nvidia-cuda-toolkit
  
 
==Cek instalasi==
 
==Cek instalasi==

Revision as of 06:15, 18 September 2017

sumber: https://askubuntu.com/questions/799184/how-can-i-install-cuda-on-ubuntu-16-04

Delete driver yang lama

sudo apt-get purge nvidia-cuda*
sudo apt-get purge nvidia-*

Download dari

https://developer.nvidia.com/cuda-downloads
cd ~/Downloads
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
sudo apt-get install nvidia-cuda-toolkit

Cek instalasi

nvcc --version
nvidia-smi

Referensi