Download and use CUDA repo on CentOS 8

 1.  open broser and go to https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo


or download

https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-repo-rhel8-10.1.243-1.x86_64.rpm

2. 

$ su -

$ cp cuda-rhel8.repo /etc/yum.repos.d/

or

$ rpm -ivh cuda-repo-rhel8-10.1.243-1.x86_64.rpm


3. 

$ dnf update


References

https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/

這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)