[GH-ISSUE #5831] Please add a tipp #3633

Closed
opened 2026-04-12 14:24:44 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @ghost on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5831

Ollama is the best tool for downloading ai models. Please could you add the following line at the end of the instaler?:
echo "To get ollama working correctly, specialy if it was instaled in another pakaging before, its recomended to reboot the computer"

Originally created by @ghost on GitHub (Jul 21, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5831 Ollama is the best tool for downloading ai models. Please could you add the following line at the end of the instaler?: `echo "To get ollama working correctly, specialy if it was instaled in another pakaging before, its recomended to reboot the computer"`
GiteaMirror added the feature request label 2026-04-12 14:24:44 -05:00
Author
Owner

@rick-github commented on GitHub (Jul 21, 2024):

Needing to reboot indicates a problem with the installer/de-installer. Which packages did you install/remove and what was the symptom of the failure?

<!-- gh-comment-id:2241636596 --> @rick-github commented on GitHub (Jul 21, 2024): Needing to reboot indicates a problem with the installer/de-installer. Which packages did you install/remove and what was the symptom of the failure?
Author
Owner

@ghost commented on GitHub (Jul 21, 2024):

I am using opensuse. their ollama pakage is broken since 2 weeks, they don't now really what to do. so i installed ollama from the ollama website. before the reboot my system thinks that ollama is located at /usr/bin, after reboot it was corectly set to /usr/local/bin.

Ps: Ollama is verry good! It runs without problems on a 10 years old quad core cpu!

<!-- gh-comment-id:2241681609 --> @ghost commented on GitHub (Jul 21, 2024): I am using opensuse. their ollama pakage is broken since 2 weeks, they don't now really what to do. so i installed ollama from the ollama website. before the reboot my system thinks that ollama is located at /usr/bin, after reboot it was corectly set to /usr/local/bin. Ps: Ollama is verry good! It runs without problems on a 10 years old quad core cpu!
Author
Owner

@rick-github commented on GitHub (Jul 21, 2024):

This may have been the shell caching the location of the binary. Did you get ollama: command not found errors from the command line, or were there other errors?

There are a couple of simple ways to flush the cache, either run hash -r or log out and back in again.

<!-- gh-comment-id:2241728515 --> @rick-github commented on GitHub (Jul 21, 2024): This may have been the shell caching the location of the binary. Did you get `ollama: command not found` errors from the command line, or were there other errors? There are a couple of simple ways to flush the cache, either run `hash -r` or log out and back in again.
Author
Owner

@ghost commented on GitHub (Jul 22, 2024):

Yes i get this error! Is it possible that the hash -r can be includet in the instaler?
This would make it easier for other people with the same problem.
Thank you all a lot!

<!-- gh-comment-id:2242377504 --> @ghost commented on GitHub (Jul 22, 2024): Yes i get this error! Is it possible that the hash -r can be includet in the instaler? This would make it easier for other people with the same problem. Thank you all a lot!
Author
Owner

@rick-github commented on GitHub (Jul 22, 2024):

Unfortunately hash -r needs to run in the parent process, running it in the installer (a child process) will have no effect.

Another workaround is to start a new shell, either run bash in the current terminal, or open a new terminal session.

<!-- gh-comment-id:2242399808 --> @rick-github commented on GitHub (Jul 22, 2024): Unfortunately `hash -r` needs to run in the parent process, running it in the installer (a child process) will have no effect. Another workaround is to start a new shell, either run `bash` in the current terminal, or open a new terminal session.
Author
Owner

@ghost commented on GitHub (Jul 22, 2024):

Its usualy to start a new shell. this dont fixes the problem. Maybe it is enough to log out, but it worked just after reboot.
A message for the user would be a method to solve things like this. Or maybe write it in the install guide.

<!-- gh-comment-id:2242419065 --> @ghost commented on GitHub (Jul 22, 2024): Its usualy to start a new shell. this dont fixes the problem. Maybe it is enough to log out, but it worked just after reboot. A message for the user would be a method to solve things like this. Or maybe write it in the install guide.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3633