How to Add CUDA Repository for Fedora

December 10, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Setting Up Repo

  1. 2. Downloading

    Then Download CUDA Repository for Fedora

    cuda-repo Package

    Choose the Fedora Release (If not available then just the Latest one).
    Then Navigate to the x86_64 folder and Find cuda-repo-fedora*x.y Package.

  2. 3. Installing Repo

    Then to Install CUDA Repo on Fedora
    First access the target directory:

    cd && cd Downloads

    Check that is there with:

    ls .

    (If not there see into /tmp/mozilla*…)
    Then Choose the CUDA Version.
    And to Setup it:

    sudo rpm -i cuda-repo-fedora*.rpm
  3. 4. Installing Packages

    Finally, Install Required Packages
    The Kernel Headers:

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

    And the GCC:

    sudo dnf install gcc

Contents


Tags: , ,