[centos7][graphics driver][original]nvidia-detect command solution not found

Use the command line to install the graphics card driver. According to the general online tutorials, you will go to the nvidia-detet command, but

 nvidia-detect -v
-bash: nvidia-detect: command not found
and yum install nvidia-detect can't be installed, it seems to be a source problem, even if it is restored to the default centos7 source, it doesn't seem to be the source, so I see it to order

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
get http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo .noarch.rpm
Get http://elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
Ready... ################# ################ [100%]
        Package elrepo-release-7.0-6.el7.elrepo.noarch (than elrepo-release-7.0-4.el7.elrepo.noarch still new) already installed

Could it be the elrepo-release version problem, so

yum remove elrepo-release-7.0-6.el7.elrepo.noarch

Then retype:

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

then

yum install nvidia-detect

Finally, it is found that nvidia-detect is normal, so this problem is caused by the incompatibility of elrepo-release, you can uninstall the original one and reinstall it.

Guess you like

Origin blog.csdn.net/FL1623863129/article/details/131163543