How to Install CUDA on Deepin Linux 64-bit Step By Step

September 8, 2019 | By the+gnu+linux+evangelist.

Installing

  1. 3. Installing Kernel Headers

    Next Install Deepin Linux’s Kernel Headers.

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

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  2. 4. Setting Up Repo

    See How Setup CUDA Deepin Linux Repository

    Debian CUDA Repo Setup
  3. 5. Installing CUDA

    Finally, Install CUDA Toolkit for Deepin.

    sudo apt -y 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.0/bin${PATH:+:${PATH}}' > $HOME/.bashrc

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

    bash

QuickChic Theme • Powered by WordPress