How to Add CUDA Repository for Fedora

December 10, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Add CUDA Fedora Repository

Hello Fedora User! The Tip Shows You How to Add the CUDA Repository for Fedora GNU/Linux 64-bit Based Systems.

And the Fedora CUDA Install is a Parallel Computing Platform and Programming Model invented by NVIDIA.
It enables dramatic Increases in Computing Performance by harnessing the power of the graphics processing unit (GPU).

How to Add CUDA Repository Fedora - Featured

  1. Open a Terminal Shell session
    (Press “Enter” to Execute Commands)

    How to Add CUDA Repository Fedora - Open Terminal Shell Emulator
  2. 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.

  3. Then to Install 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
  4. Finally, Install Required Packages
    Kernel Headers:

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

    And GCC:

    sudo dnf install gcc

Tags: , ,