Installing
-
3. Setting Up CUDA Repository
See How Setup CUDA CentOS Linux Repo Package
-
4. Installing CUDA
Finally, Install CUDA Toolkit in CentOS Linux
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
Amend as needed the 11.8 with the currently installed Version…
And Reload Configuration simply with:bash
Contents