Fedora 43 - How to update ollama

Hi everyone,

I installed Ollama on my Fedora 43 with the command:

bash

dnf install ollama

Currently it is at version 0.12.10. I’ve noticed that a newer version (0.15) exists, and I have already updated Fedora to the latest release, but Ollama remains stuck at 0.12.10.

Question: What is the correct way to upgrade Ollama to version 0.15? I’m still new to the world of Gnu-Linux, so any guidance on the most reliable procedure (including any extra steps such as clearing the cache or removing the old version) would be greatly appreciated.
I would like to keep my existing models and configuration files when performing the upgrade.

Thanks in advance for the help! :slightly_smiling_face:

If you want to see what’s going on with a package, it’s useful to look it up at packages.fedoraproject.org.

For ollama, the “recent activity” points to a Bugzilla ticket 2432747 (“Update ollama to 0.15.1 (from 0.12.11)”)

The maintainer there says:

The update will be delayed until after the F44 branch.

The F44 branch is scheduled to be made on 3rd Feb (item 12 on the release schedule), so hopefully this will start moving in a week or so.

ollama in F43 should be at version 0.9.4, see ollama - Fedora Packages and Making sure you're not a bot!
Maybe you did install the version for f44 or rawhide.

1 Like

I used to install from the github before it was packaged in Fedora

curl -fsSL https://ollama.com/install.sh | sh

I’m sorry, I’m a bit confused because I’m not experienced. :upside_down_face:
I checked with dnf info ollama and I have this:

Name                  : ollama
Version              : 0.9.4
Release               : 4.fc43
Architettura          : x86_64
Dimensione installata : 772.8 MiB
Sorgente              : ollama-0.9.4-4.fc43.src.rpm
Da repository         : fedora

but if checked with ‘ollama --version’ i have

ollama version is 0.12.10

I installed it on WSL like that. But since Fedora has its own package, I used dnf. Now I don’t know whether I should wait for the new version 44 or update it another way.

1 Like

it depends on your usecase. I needed a newer version of ollama than was available in the Fedora repos, so I installed directly from upstream.

Packages in Fedora often need a bunch of dependencies to be updated too, so they’re sometimes slower to update (or they can’t be updated because of some deps that can’t be updated in a current stable Fedora release).