How to Install CUDA 10 on Debian Bullseye 64-bit Step by Step

September 5, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 3. Installing Kernel Headers

    Next Install Debian’s Kernel Headers.

    sudo apt install linux-headers-$(uname -r)

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.

  2. 4. Setting Up Repo

    See How Setup CUDA 10 Debian Repository

    Debian CUDA 10 Repo Setup
  3. 5. Installing CUDA 10

    Finally, Install CUDA 10 Toolkit for Debian.

    sudo apt install nvidia-cuda-dev nvidia-cuda-toolkit nvidia-driver
  4. 6. Setting Up Path

    Again Setup PATH Env Variable.
    This is necessary to Find the Binaries on System:

    echo 'export PATH=/usr/local/CUDA 10-10.0/bin${PATH:+:${PATH}}' >> $HOME/.bashrc

    Possibly Amend the 10.0 with the Actual Version…
    And finally, Reload Configuration simply with:

    bash

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

QuickChic Theme • Powered by WordPress