How to Install CUDA on openSUSE 15 Leap 64-bit Step By Step

December 10, 2018 | By the+gnu+linux+evangelist.

Installing

  1. 2. Checking up

    Then Verify on CUDA Capable GPU.

    lspci | grep -i nvidia

    But if you do Not see any NVIDIA hardware on Output then first install:

    sudo update-pciids

    Then try Again…

  2. 2. Setting Up NVIDIA CUDA Repository

    See How Setup CUDA openSUSE Repo Package

    OpenSUSE CUDA Repo Setup
  3. 3. Installing NVIDIA CUDA

    Finally, Install CUDA Toolkit in openSUSE
    To search for available releases:

    zypper search cuda

    And then to setup it:

    sudo zypper in cuda-toolkit-[x.y]

    Replace [x.y] with the needed CUDA Version in the above.

  4. 4. 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 10.0 with the Actual Version…
    And Reload Configuration simply with:

    bash

Contents


QuickChic Theme • Powered by WordPress