Step-by-step – CentOS 8.x/Stream-8 CUDA Installation

November 19, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 3. Setting Up NVIDIA CUDA Repository

    See How Setup CUDA CentOS Repo Package

    RHEL CUDA Repo Setup
  2. 4. Installing NVIDIA CUDA

    Finally, Install CUDA Toolkit for CentOS
    Search for the Available Versions with:

    dnf search cuda

    And then to Setup it:

    sudo dnf install cuda-[x.y]

    Just replace the [x.y] with the wished release found on the former step.

    Again Setup PATH Env Variable.
    This is necessary to Find the Binaries on System:

    echo 'export PATH=/usr/local/cuda-11.8/bin${PATH:+:${PATH}}' >> $HOME/.bashrc

    Amend as needed the 11.8 with the currently installed Version…
    And Reload Configuration simply with:

    bash

Contents


QuickChic Theme • Powered by WordPress