Installing
-
2. Pre-Installation Testing
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…
-
3. Setting Up Repo
See How Setup CUDA openSUSE Repo Package
-
4. Installing CUDA
Finally, Install CUDA 10 Toolkit in openSUSE
First, search for the available CUDA Releases with:zypper search cuda-toolkit
Then to setup it play:
sudo zypper in cuda-toolkit-[x.y]
Replace [x.y] with the needed CUDA Version in the above.
-
5. 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