How to Add CUDA Repository for Ubuntu Based OSes

November 8, 2017 | By thelinuxevangelist | Filed in: Tutorial.

Add CUDA Ubuntu Repository

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

And this CUDA Ubuntu Repository is valid also for:

  • Linux Mint
  • Lubuntu
  • Kubuntu
  • Xubuntu
  • Zorin OS
  • Elementary OS
  • Linux Lite
  • Bodhi Linux
  • Kde Neon
  • Pop_OS!
  • Voyager
  • LXLE
  • feren OS
  • Peppermint
  • Q4OS
  • Linux Ultimate Edition
  • (You need only find the Corresponding Ubuntu 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 Ubuntu - Featured



  1. Open a Terminal Shell session
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    How to Add CUDA Repository Ubuntu - Open Terminal Shell Emulator
  2. Then Download CUDA Repository for Ubuntu

    cuda-repo Package

    Choose the Nearest Release…
    So for Ubuntu 16.10 choose -> 16.04
    And for Ubuntu 18.10 at this time -> 18.04
    Then Navigate to the x86_64 folder and Find cuda-repo-ubuntu*x.y Package.

  3. Then to Install on Ubuntu
    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
  4. 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



  5. Finally, Refresh Apt Repositories

    sudo apt update

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