Step-by-step – CUDA Installation in Fedora 33

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

Installing

  1. 2. Pre-Installation Testing

    Then Verify on CUDA Capable GPU.

    lspci | grep -i nvidia

    But if you do Not see any NVIDIA hardware on Output then first install:

    sudo update-pciids

    Then try Again…

  2. 3. Setting Up Repo

    See How Setup CUDA Fedora Repo Package

    CUDA Repo Setup
  3. 4. Installing Packages

    Next Install Required Packages
    The Kernel Headers:

    sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)

    And the GCC:

    sudo dnf install gcc
  4. 5. Installing CUDA

    Finally, Install CUDA Toolkit in Fedora
    Simply play:

    sudo dnf install cuda

Contents


QuickChic Theme • Powered by WordPress