Skip to content

How to Install CUDA in Ubuntu 16.04

JihunJung edited this page Oct 16, 2019 · 4 revisions
$ sudo apt update
$ sudo apt -y install build-essential
$ wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/[CUDA-REPO]
# example
# wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64
$ sudo dpkg -i cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64
$ sudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
$ sudo apt update
$ sudo apt -y install cuda

# version info
$ nvcc --version

# GPU status
$ nvidia-smi

# GPU device info
$ sudo apt -y install cmake
$ cd /usr/local/cuda/samples/1_Utilities/deviceQuery
$ make
$ ./deviceQuery
  • HOME
    1. Environment Setting
      • Install CUDA
      • Install cuDNN
      • Python Setting
        • Install Python
        • virtualenv setting
        • Jupter setting
    2. DeepLearning Basic
      • To do
    3. Object Detection
      • How to use TensorFlow Object Detection API
      • Remote Tensorboard Connection
      • How to use pycocotools for managing dataset(Using coco format)
    4. TensorFlow
      • To do
    5. Ubuntu
      • User management
      • SSH connect(with login message)
      • File Transfer between local and remote
    6. ETC
      • To do

Clone this wiki locally