How to Add CUDA Repository for Debian Based OSes

February 6, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Add CUDA Debian Repository




You are Welcome! The Tip Shows You How to Add the CUDA Repository for Debian GNU/Linux 64-bit Based Systems.

And this CUDA Debian Repository is valid also for:

  • Kali Linux
  • LMDE Linux
  • Deepin Linux
  • CrunchBang Linux
  • Parrot Linux
  • Parsix Linux
  • antiX Linux
  • MX Linux
  • SparkyLinux
  • MakuluLinux
  • Elive Linux
  • (You need only find the Corresponding Debian Parent Release.)

And the Ubuntu 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 Debian - Featured



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

    How to Add CUDA Repository Debian - Open Terminal
  2. Then Download CUDA Repository for Debian

    cuda-repo Ubuntu Package

    Now for Debian Unstable / Testing Based now try with -> Ubuntu 17.04
    Again for Debian 9 / Stable Based now choose -> Ubuntu 16.04
    And for Kali and Debian Stable Based now choose -> Ubuntu 16.04
    Instead, for Debian 8 Based -> Ubuntu 14.04
    Then Navigate to the x86_64 folder and Find cuda-repo-ubuntu*x.y Package.

  3. Then Install Required Package

    sudo apt install dirmngr

    If Got “User is Not in Sudoers file” then Look: Solution

  4. Then to Install on Debian
    First access the target directory:

    cd && cd Downloads

    Check that is there with:

    ls .

    (If not there see into /tmp/mozilla*…)
    And Setup it with:

    sudo dpkg -i cuda-repo-ubuntu*amd64.deb
  5. Again Add CUDA GPG Key
    Lookup in the Output to find the Exact Command to Use!
    So Eg:

    sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub



  6. Finally, Refresh Apt Repositories

    sudo apt update

Tags: , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress