Step‑by‑step guide for installing and verifying the NVIDIA CUDA Toolkit on supported Linux distributions.
This guide explains how to install the NVIDIA CUDA Toolkit on Linux systems, covering pre‑installation checks, package‑manager and runfile installation methods, and post‑installation verification. It also includes a cross‑build environment for ARM and answers common installation questions.
The document is aimed at users familiar with the Linux command line and provides detailed instructions for setting environment variables, handling conflicting installations, and extracting installer contents. It concludes with additional considerations and links to further development resources.
| Supported Linux distributions | Fedora 20, CentOS 6.x, Ubuntu 14.04, OpenSUSE 13.1, SLES 11 SP3, etc. |
|---|---|
| Required GPU | CUDA‑capable NVIDIA GPU |
| Required compiler | gcc compiler and toolchain |
Your PATH environment variable is not set correctly; add the CUDA bin directory (e.g., /usr/local/cuda-6.5/bin) to PATH.
Your LD_LIBRARY_PATH is missing the CUDA library directories; add /usr/local/cuda-6.5/lib or /usr/local/cuda-6.5/lib64 to LD_LIBRARY_PATH.