# Nvidia rocky 10 guide

**URL:** <https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230>\
**Category:** Rocky Linux Help & Support\
**Created:** [July 27, 2025, 11:18am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230 "2025-07-27T11:18:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [July 27, 2025, 11:18am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/1 "2025-07-27T11:18:58Z")

</div>

hey everyone, is there any guides on install nvidida on 10?? or is it the same as 9 - used to foloow this because of safe boot. - [How to Install NVIDIA Driver and CUDA on Rocky 9.1 - #10 by timppu](https://forums.rockylinux.org/t/how-to-install-nvidia-driver-and-cuda-on-rocky-9-1/9686/10)

---

<div class="post-metadata">

**Author:** ![randallb](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@randallb](https://forums.rockylinux.org/u/randallb)\
**Post date:** [July 27, 2025, 1:37pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/2 "2025-07-27T13:37:07Z")

</div>

I have not seen something written for 10. On 8 and 9, modules were the preferred way to go, and I have done a lot of NVIDIA installs using modules. Modules were a horrible experiment in the Enterprise environment, imo! With 10, if you type “dnf module list --all” you will not see any modules - yeah! So I tried using the installer. The first step is to disable the nouveau driver. On my NVIDIA system, this also removes sound. When I put the NVIDIA drivers on, sound was still listed as dummy. I did not research more as the driver is not critical for me, but I will personally wait for guidance from NVIDIA before I try again.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 28, 2025, 8:13am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/3 "2025-07-28T08:13:07Z")

</div>

> [@randallb](#):
>
> Modules were a horrible experiment in the Enterprise environment, imo! With 10, if you type “dnf module list --all” you will not see any modules - yeah!

There seems to be clear agreement on that. Red Hat introduced _Software Collections_ (SCL) for RHEL 7 (and RHEL 6). On RHEL 8 they made everything a module (“application stream”), hoping to replace SCL. They saw issues when RHEL 8 was in use, but kept some for RHEL 9. In RHEL 10 they chose to have no modules.

* * *

There have been many packagers of NVidia drivers for EL distros:

- NVidia has the `.run` file, which bypasses package management. This is the oldest and available for most major versions. However, “source installs” that mess up package management are not nice
- NVidia has driver as RPM too as they now distribute CUDA as packages. Alas, it lags a bit behind; they have now repo for ‘rhel10’, but no content yet
- ELRepo builds kernel modules that RHEL does not provide. Solid, when they get it rolling. (Not yet for el10)
- RPM Fusion builds too. They seem to have ‘575.64-1.el10’ packages now
- negativo17 [Nvidia driver, CUDA tools and libraries – negativo17.org](https://negativo17.org/nvidia-driver/) seems to have NVidia packages for el9 and el10
- AlmaLinux 10 offers kernel module as extra, but uses negativo’s packages for the rest of the driver

I do prefer ELRepo and NVidia’s CUDA repo, but they are not yet possible for el10.

* * *

> [@randallb](#):
>
> The first step is to disable the nouveau driver.

Most packaged drivers do that on install.

With most package sources one simply installs packages. NVidia has guide for their offerings; they even mention Rocky.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [July 28, 2025, 9:33am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/4 "2025-07-28T09:33:10Z")

</div>

I generally found using modules to be a lot better than SCL, but I guess it can be a personal preference. Maybe with EL8 they went overboard and had too many of them. With EL9 it seemed quite a good balance, and generally never had any issues with it personally. For me was far worse with SCL.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 28, 2025, 9:45am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/5 "2025-07-28T09:45:44Z")

</div>

They are solutions for slightly different problems.

The SCL, like _Environment Modules_, is about how to have more than one version installed simultaneously. User has to state which version to use (today).

The DNF modules, application streams, are about installing one version. One could have separate repo for each version; modules allows packages to be in same repo.

---

<div class="post-metadata">

**Author:** ![Lothar](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/lothar/32/963_2.png) [@Lothar](https://forums.rockylinux.org/u/Lothar)\
**Post date:** [July 28, 2025, 4:06pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/6 "2025-07-28T16:06:03Z")

</div>

‘modular’ RPM’s are what made EL 8.x an abomination…  
‘I’ gave up on it 1 week after attempting to install/use it…  
Skipped over to ‘9.x’ which at least allowed you to just ignore them…  
Someone figured out what they were by 10.x and got rid of them…  
May they burn on the scrap heap of bad code…  
Just my opinion…

---

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [July 30, 2025, 3:53pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/7 "2025-07-30T15:53:42Z")

</div>

would this work you think for 10??? ive always used it for 9 no problems… its from anotehr post

```auto
I actually found instructions that seem to be working, without having to disable Secure Boot:

https://www.reddit.com/r/RockyLinux/comments/woqgij/rocky_9_nvidia_drivers_secure_boot_success/

I changed the instructions a bit, e.g. the non-working “sudo echo >” commands in the original instructions:

sudo dnf install epel-release 
sudo dnf upgrade
sudo reboot

After the reboot:

sudo dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/$(uname -i)/cuda-rhel9.repo
sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms
sudo dnf module install nvidia-driver:latest-dkms
echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
echo 'omit_drivers+=" nouveau "' | sudo tee /etc/dracut.conf.d/blacklist-nouveau.conf
sudo dracut --regenerate-all --force
sudo depmod -a

The mokutil command will prompt for you to make up a password, which will be used during reboot

sudo mokutil --import /var/lib/dkms/mok.pub
sudo reboot

After the reboot, your system should ask you if you want to enroll a key or something like that, say yes and it asks for the password you gave in the mokutil command.

Later on, check that the nvidia drivers are installed:

nvidia-smi

If you dual boot windows, a windows-driven firmware update may reset the TPM chip (?). Anyway, any time this happens you’ll need to re-run ‘mokutil --import /var/lib/dkms/mok.pub’

```

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 31, 2025, 7:07am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/8 "2025-07-31T07:07:57Z")

</div>

That has already more steps than one needs. You can look at [1. Introduction — NVIDIA Driver Installation Guide r580 documentation](https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/index.html) for shorter list (for Rocky 9, among all the text).

Alas, the `https://developer.download.nvidia.com/compute/cuda/repos/rhel9/$(uname -i)/`  
is for Rocky 9, not for Rocky 10.  
One has to wait until NVidia builds packages for rhel10 and puts them into  
`https://developer.download.nvidia.com/compute/cuda/repos/rhel10/` (or something),  
before one can use this “CUDA repo method” with el10.

---

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [July 31, 2025, 7:18pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/9 "2025-07-31T19:18:01Z")

</div>

got yah… i thought it would jsut still work with the 9 stuff… im still new to all this…

do you know where id keep an eye out for the update…

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 31, 2025, 9:54pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/10 "2025-07-31T21:54:40Z")

</div>

> [@pkjack](#):
>
> got yah… i thought it would jsut still work with the 9 stuff… im still new to all this…

The GPU driver has two parts:

- _kernel module_ that talks to the hardware. It must be built for the kernel that is in use. The el10 has entirely different kernel from el9
- Drivers in the windowing system. The el9 had X11 and Wayland. The el10 has only Wayland, and I bet the version differs.

More generally, packages should be built for the target platform, because the build invariably links to system libraries and libs in different platforms (e.g. el9 _vs_ el10) are not totally compatible.

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 1, 2025, 3:56am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/11 "2025-08-01T03:56:15Z")

</div>

@pkjack

i used my own and tweaks from nixos - fedora and working great so far:

for starters:

```bash
sudo dnf install -y \
  https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-10.noarch.rpm \
  https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-10.noarch.rpm

```

I just replaced the 9 to 10 and used certain nvidia flags. if your interested, ill DM you my script.I did my own custom driver script, I just wanted it to work and be done with it.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/a/aebd46bc43f4c41888d38c3a863d2440b777cf20.jpeg)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/1/11ec8f600f1eda7799ad5d8f540a6f53d787d356.jpeg)

 ![showoff4](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/b/b21d78821cf8fc16005a707f1991a791e32e6cf3.png)

---

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [August 1, 2025, 4:59pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/12 "2025-08-01T16:59:49Z")

</div>

wow.. top stuff there!!! i dont suppose you run davinci resolve do you?

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 2, 2025, 2:45am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/13 "2025-08-02T02:45:39Z")

</div>

@pkjack

nope, i rarely use OBS even.

I just got samba and GUI interface working to share folders. abit of a mission but all done

you can install nix package manager and install it that way perhaps?

 ![522972923_4168763086774641_6305208972614609760_n](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/1/1f5e198ad8d2c18169c40c9cf40851cb0f77e347.png)

 ![523478833_1718728538778561_7185328439363882710_n](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/3/3ddc8613f2cc15d05057cbb52b17ab65b7dd54b3.png)

---

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [August 3, 2025, 4:26pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/14 "2025-08-03T16:26:28Z")

</div>

well ive just had mega problems… ive used rocky 9… install a few times fresh and follwoed the same install insructions for nvivida.. never had a problem. now out of the blue it will still install all okay… but everytihng is messed up… glitches, chrome doesnt open, videos dont play and so on…

even though before, all worked perfectly. i jsut dont get it.

But as soon as i plug into my built in graphics… all the problems go

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 3, 2025, 4:51pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/15 "2025-08-03T16:51:53Z")

</div>

Have u tried rocky10. Today I had a horrible realisation that Linux is heading towards the direction of no longer being old pc friendly. I tried to install RL 10 on my hp folio i7 3gen and it refused to install and displayed that it no longer supports machines that have v2 and lower CPU.

In your case maybe try rl10. I did pass afew global env sessions that I predominately use in all my general and nixos

 ![20250803_154837](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/8/83d7a811e90af4cc4b9a9b3ec8982c24e3e1ad6d.jpeg)

---

<div class="post-metadata">

**Author:** ![pkjack](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pkjack/32/5021_2.png) [@pkjack](https://forums.rockylinux.org/u/pkjack)\
**Post date:** [August 3, 2025, 5:04pm UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/16 "2025-08-03T17:04:29Z")

</div>

ive litrally jsut finished installing 10… maybe they updated the drivers on that install i used to do… gutted as its worked perfectly.. have you got any insrutions at all to install nvivida on 10.. well try to anyways

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 4, 2025, 5:21am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/17 "2025-08-04T05:21:04Z")

</div>

i can send via messenger or email:

fb; tolga erok

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 4, 2025, 11:28am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/18 "2025-08-04T11:28:40Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/f/f22b6369baad9437f467866c7fc4de3b6afc1bfd.png)

gtx1650

rocky10 kde

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [August 7, 2025, 7:01am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/19 "2025-08-07T07:01:38Z")

</div>

NVidia has finally created packages for “rhel10”.

* * *

Short version with their packages:

```auto
dnf config-manager --enable crb
dnf install epel-release https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cuda-rhel10.repo

# IF pre-Turing GPU (i.e. Maxwell, Pascal, Volta):
dnf install cuda-drivers
# ELIF Turing or never:
dnf install nvidia-open

# IF Secure Boot is in use AND dkms key is not yet in UEFI:
mokutil --import /var/lib/dkms/mok.pub

systemctl reboot

# Complete key import on boot IF mokutil was used

```

The above installs both desktop and compute drivers. If one will not install/use CUDA, then:  
`dnf install nvidia-driver kmod-nvidia-latest-dkms`  
for pre-Turing, or  
`dnf install nvidia-driver kmod-nvidia-open-dkms`

If one will use only CUDA, no desktop, then:  
`dnf install nvidia-driver-cuda kmod-nvidia-latest-dkms`  
for pre-Turing, or  
`dnf install nvidia-driver-cuda kmod-nvidia-open-dkms`

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tolga/32/3144_2.png) [@Tolga](https://forums.rockylinux.org/u/Tolga)\
**Post date:** [August 7, 2025, 10:10am UTC](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230/20 "2025-08-07T10:10:15Z")

</div>

Yeah cheers for that … in my case my script already handles the GUI side and sets up CUDA support too, mainly through akmod for rebuild safety. So it’s a bit of a hybrid setup 🤣 …. desktop performance with compute fallback when needed. My personal script works well so far as its literally a mish mesh of what worked in nixos, rhel and fedora workstation. I really would have liked to use negativo17 repo as its more complete… oh well, next time. But thanks for the great news!

[Next page](https://forums.rockylinux.org/t/nvidia-rocky-10-guide/19230.md?page=2)
