Rate This Document
Findability
Accuracy
Completeness
Readability

Installing NVIDIA CUDA

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Obtain the NVIDIA CUDA component.
    wget https://developer.download.nvidia.com/compute/cuda/11.4.0/local_installers/cuda_11.4.0_470.42.01_linux_sbsa.run
  3. Install the NVIDIA CUDA component.
    sudo shcuda_11.4.0_470.42.01_linux_sbsa.run
  4. Perform the verification.
    ls -l /usr/local/cuda-11.4/
  5. Configure the CUDA environment variables.
    export CUDA_HOME=/usr/local/cuda-11.4
    export PATH=/usr/local/cuda-11.4/bin:$PATH
    export LD_LIBRARY_PATH=/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH