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 NVIDIA CUDA 11 Repo
See How Setup CUDA CentOS Repo Package
-
4. Installing NVIDIA CUDA 11
Finally, Install CUDA Toolkit in CentOS
Search for the Available Versions with:dnf search cuda
And then to Setup it:
sudo dnf install cuda-[x.y]
Just replace the [x.y] with the wished release found on the former step.
Again Setup PATH Env Variable.
This is necessary to Find the Binaries on System:echo 'export PATH=/usr/local/cuda-11.8/bin${PATH:+:${PATH}}' >> $HOME/.bashrc
Possibly Amend the 11.8 with the current Version…
And Reload Configuration simply with:bash
Contents