[GH-ISSUE #1326] Installation fails on Fedora 39 (38+) #688

Closed
opened 2026-04-12 10:22:06 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @cephalization on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1326

Nvidia hasn't uploaded specific cuda drivers for later versions of fedora here https://developer.download.nvidia.com/compute/cuda/repos/

So, installation fails when trying to install them for 38 and 39.

To fix, you can follow the steps for Fedora 35 and later here https://rpmfusion.org/Howto/CUDA

sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora35/x86_64/cuda-fedora35.repo
sudo dnf clean all
sudo dnf module disable nvidia-driver
sudo dnf -y install cuda

And then redo the ollama install.

Everything seems to work afterwards

Originally created by @cephalization on GitHub (Nov 30, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1326 Nvidia hasn't uploaded specific cuda drivers for later versions of fedora here https://developer.download.nvidia.com/compute/cuda/repos/ So, installation fails when trying to install them for 38 and 39. To fix, you can follow the steps for Fedora 35 and later here https://rpmfusion.org/Howto/CUDA ```sh sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora35/x86_64/cuda-fedora35.repo sudo dnf clean all sudo dnf module disable nvidia-driver sudo dnf -y install cuda ``` And then redo the ollama install. Everything seems to work afterwards
GiteaMirror added the bug label 2026-04-12 10:22:06 -05:00
Author
Owner

@supercheetah commented on GitHub (Dec 13, 2023):

The installer really shouldn't be using NVidia's repo for this. It's generally recommended to use RPMfusion for these drivers, which are kept up-to-date with the NVidia repo, but ensure they work on later versions.

<!-- gh-comment-id:1854189766 --> @supercheetah commented on GitHub (Dec 13, 2023): The installer really shouldn't be using NVidia's repo for this. It's generally recommended to use RPMfusion for these drivers, which are kept up-to-date with the NVidia repo, but ensure they work on later versions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#688