GNU/Linux CentOS Adding NVIDIA CUDA Repository
Hi! The Guide shows you Step-by-step How to Add NVIDIA CUDA Repository on Red Hat Enterprise GNU/Linux 64-bit Based Desktops.
And the Fedora CUDA Setup is a Parallel Computing Platform and Programming Model invented by NVIDIA.
It enables dramatic Increases in Computing Performance by harnessing the power of the graphics processing unit (GPU).
Finally, this Setup is Valid also for All the others RedHat Linux Based Distros like:
- RedHat Enterprise Linux
- Oracle Enterprise Linux
- Rocky Linux
- AlmaLinux
- Amazon Linux
-
1. Launching Terminal
Open a Terminal Shell session
(Press “Enter” to Execute Commands)
-
2. Downloading NVIDIA CUDA Repo
Then Download CUDA Repository for CentOS
Choose the RHEL Release (If not available then just the Latest one).
Then Navigate to the x86_64 folder and Grab cuda-rhel[x].repo Package. -
3. Installing NVIDIA CUDA Repo
Then to Install CUDA Repo on CentOS
First, access the target directory:cd && cd Downloads
Check that is there with:
ls . | grep cuda
(If not there see into /tmp/mozilla*…)
Then Choose the CUDA Version.
And to Setup it:sudo mv cuda-rhel[x].repo /etc/yum.repos.d/
Last, fix permissions with:sudo chown -R root:root /etc/yum.repos.d/
4. Installing NVIDIA CUDA
How to Install CUDA Toolkit on CentOS