Can't install nvidia-detect

Issues related to applications and software problems and general support
akikanju
Posts: 8
Joined: 2020/03/22 19:09:09

Can't install nvidia-detect

Post by akikanju » 2020/03/22 19:37:43

Hello,
I have installed the elrepo as direct here : http://elrepo.org/tiki/tiki-index.php

Code: Select all

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Code: Select all

yum install https://www.elrepo.org/elrepo-release-8.1-1.el8.elrepo.noarch.rpm
But I still cannot install nvidia-detect

Code: Select all

yum install nvidia-detect
Gives:

Code: Select all

Error: Unable to find a match: nvidia-detect
Please does anyone knows what I am doing wrong.
Thank you

MartinR
Posts: 597
Joined: 2015/05/11 07:53:27
Location: UK

Re: Can't install nvidia-detect

Post by MartinR » 2020/03/22 20:25:55

I normally have elrepo and epel enabled. To look for nvidia stuff I tried

Code: Select all

# yum --enablerepo=elrepo-testing --enablerepo=elrepo-extras --enablerepo=epel-playground --enablerepo=elrepo-kernel list \*nvidia\*
with the following results:

Code: Select all

Available Packages
kmod-nvidia.x86_64                                                   440.59-1.el8_1.elrepo                                           elrepo-testing
nvidia-x11-drv.x86_64                                                440.59-1.el8_1.elrepo                                           elrepo-testing
nvidia-x11-drv-libs.i686                                             440.59-1.el8_1.elrepo                                           elrepo-testing
nvidia-x11-drv-libs.x86_64                                           440.59-1.el8_1.elrepo                                           elrepo-testing
pcp-pmda-nvidia-gpu.x86_64                                           4.3.2-2.el8                                                     AppStream
so I would assume it is not yet available in C8 - unless anyone knows better!

User avatar
TrevorH
Forum Moderator
Posts: 29443
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install nvidia-detect

Post by TrevorH » 2020/03/22 21:11:34

I have asked the ELRepo guys about this but looking at the output from the dnf list, I think I can already see why it's not there. There are no other kmod-nvidia packages for el8 other than the current one. There are no older "legacy" packages there so there's not a great deal of point in having nvidia-detect when there's only one choice of driver package. It could still be useful to tell you "sorry, your card isn't supported by $current. Bad luck"
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

akikanju
Posts: 8
Joined: 2020/03/22 19:09:09

Re: Can't install nvidia-detect

Post by akikanju » 2020/03/23 12:24:18

Thank you. I tried run the command given by @MartinR to enable elrepo and epel. I get the same output.
Please what can I do to install Nvidia driver?

User avatar
TrevorH
Forum Moderator
Posts: 29443
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install nvidia-detect

Post by TrevorH » 2020/03/23 12:42:31

Run dnf repolist and if ELRepo is not listed there then you need to go back and install it properly as it's not installed. If it is listed then you need to yum install kmod-nvidia as there are no legacy packages for older cards in CentOS 8. If your card is one of the older ones that's no longer supported by the current driver as listed on the nvidia.com web page then you will be unable to use kmod-nvidia at all on CentOS 8 as your card will not be supported by the current driver.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

akikanju
Posts: 8
Joined: 2020/03/22 19:09:09

Re: Can't install nvidia-detect

Post by akikanju » 2020/03/23 13:47:05

Thank you.

Code: Select all

#dnf repoplist
gives me:

Code: Select all

CentOS-8 - AppStream                            6.1 kB/s | 4.3 kB     00:00    
CentOS-8 - Base                                 8.8 kB/s | 3.8 kB     00:00    
CentOS-8 - Extras                               3.8 kB/s | 1.5 kB     00:00    
ELRepo.org Community Enterprise Linux Repositor 3.4 kB/s | 2.9 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 -  23 kB/s |  33 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64   42 kB/s |  33 kB     00:00    
repo id         repo name                                                 status
AppStream       CentOS-8 - AppStream                                      5,107
BaseOS          CentOS-8 - Base                                           2,110
elrepo          ELRepo.org Community Enterprise Linux Repository - el8       70
epel            Extra Packages for Enterprise Linux 8 - x86_64            5,066
epel-modular    Extra Packages for Enterprise Linux Modular 8 - x86_64        0
extras          CentOS-8 - Extras                                             9
But

Code: Select all

yum install kmod-nvidia
is still unable to find a match

User avatar
TrevorH
Forum Moderator
Posts: 29443
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install nvidia-detect

Post by TrevorH » 2020/03/23 14:46:18

elrepo-testing is disabled by default and kmod-nvidia is in there, presumably pending feedback from users that it works correctly.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

akikanju
Posts: 8
Joined: 2020/03/22 19:09:09

Re: Can't install nvidia-detect

Post by akikanju » 2020/03/23 15:25:28

Great thanks, it is now installed and my driver is there.

Just for newbies, like me stumbling on this, the command I used to install it:

Code: Select all

yum --enablerepo=elrepo-testing install kmod-nvidia
Then I now see my driver

Code: Select all

lspci | grep 'NVIDIA\|VGA'
Thanks a lot @TrevorH

User avatar
TrevorH
Forum Moderator
Posts: 29443
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install nvidia-detect

Post by TrevorH » 2020/03/23 15:31:30

If it is working for you then I am sure that ELRepo would appreciate knowing that. It might make it move from -testing to the main repo so would be easier to find for everyone else.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

scottro
Forum Moderator
Posts: 2457
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Can't install nvidia-detect

Post by scottro » 2020/03/23 19:06:21

FWIW, I'm finding Elrepo's NVidia drivers working well with a low end GT 710 card. (I had been using rpmfusion and only realized that elrepo, which I used through CentOS-7, had drivers available for CentOS-8.)

(And I did drop Phil a quick email to let him know) :)
New users should check the FAQ and Read Me First pages

Post Reply

Return to “CentOS 8 - General Support”