Installing
3. Setting Up CUDA Repository
See How Setup CUDA Red Hat Linux Repo Package
4. Installing CUDA
Finally, Install CUDA Toolkit in Red Hat Linux
Search for the Available Versions with:yum search cuda
And then to Setup it:
sudo yum 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