I'm using CentOS 8 (build 1905) on some machine, and would like to install CUDA on it. It seems that other than a manual RPM download, there is also a YUM repository - for RedHat Enterprise Linux (RHEL) 8, not CentOS 8: this one.

Can I safely use it as a repo for my CentOS installation? Use it, but with certain caveats/snags? Or - not use it at all?

1 Answer 1


The cuda-rhel7 repo on the NVidia developer site is the correct one to use for CentOS 7, so the one from your link for would be correct for CentOS 8. It should be safe to use as normal.

You can also download the .run file installer from nvidia, but you will need to manually disable the nouveau driver and handle driver upgrades yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.