- rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org (external link)
- rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm (external link)
- yum install nvidia-detect.x86_64
- yum install $(nvidia-detect) -y
Last active
September 1, 2024 19:47
-
-
Save fxrcode/0afa3c8db13f0ae0b427bb6ddc44adf4 to your computer and use it in GitHub Desktop.
Install nvidia-driver on Centos 7
Thanks for the info! I had been annoyed by the installation all day, and this gist saved my night.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's good info ... but you will probably have to install EPEL repo as nvidia driver may depends on some openssl libraries (as
libcrypto.so.1.1.1
), which are in there. So I will add a step after2.
with a basic command likeyum install epel-release
But this gist was so helpful 😊