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

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
  https://developer.nvidia.com/cuda-downloads
 
  https://developer.nvidia.com/cuda-downloads
 +
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
  
 
  cd ~/Downloads
 
  cd ~/Downloads
 
  sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
 
  sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
  sudo apt-get update`
+
  sudo apt update
  sudo apt-get install cuda`
+
  sudo apt install cuda
 +
sudo apt install nvidia-cuda-toolkit
  
 +
==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

Latest revision as of 19:20, 25 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
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
cd ~/Downloads
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt update
sudo apt install cuda
sudo apt install nvidia-cuda-toolkit

Cek instalasi

nvcc --version
nvidia-smi

Referensi