Skip to content

Instantly share code, notes, and snippets.

View ifsheldon's full-sized avatar

ifsheldon

View GitHub Profile
@ifsheldon
ifsheldon / install_CUDA.md
Last active June 20, 2021 14:55
Quick installation of CUDA on Ubuntu

Quick installation of CUDA on Ubuntu

The process of installing CUDA is pretty simple. Here are a few tips:

  1. DON'Ts
  • Do NOT follow the NVIDIA CUDA Installation Guide for Linux, which seems weird now, but it seems the content of it has not been updated for a while even though version numbers keep bumping.
  • Do NOT install CUDA by simply enter sudo apt install nvidia-cuda-toolkit because the installed version is very old (CUDA 9.0) if you are on Ubuntu
  1. Go straight towards to the official CUDA developer website and go to the download page
  • the CUDA developer website is something like https://developer.nvidia.com/zh-cn/cuda-zone which may differ according to your region.
  • the CUDA download page's address is https://developer.nvidia.com/cuda-downloads now.
  1. On the download page, you should be able to select your OS, architecture, distribution (for Linux only), OS version and installer type.
  2. After checking all the s