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

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
  sudo apt-get install cuda
 
  sudo apt-get install cuda
  
Cek instalasi
+
==Cek instalasi==
  
 
  nvcc --version
 
  nvcc --version
 +
 +
nvidia-smi
  
 
==Referensi==
 
==Referensi==
  
 
* https://askubuntu.com/questions/799184/how-can-i-install-cuda-on-ubuntu-16-04
 
* https://askubuntu.com/questions/799184/how-can-i-install-cuda-on-ubuntu-16-04

Revision as of 06:12, 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

Cek instalasi

nvcc --version
nvidia-smi

Referensi