[GH-ISSUE #14931] Docs: Linux uninstall command uses tr 'bin' 'lib', which mangles paths #71670

Open
opened 2026-05-05 02:18:35 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @mmetc on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14931

What is the issue?

The tr command performs character-by-character translation, so this is wrong:

 Remove ollama libraries from your lib directory (either /usr/local/lib, /usr/lib, or /lib):

sudo rm -r $(which ollama | tr 'bin' 'lib')

Example with a snap (just to prove the point)

$ which ollama | tr 'bin' 'lib'
/sbap/lib/ollama

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @mmetc on GitHub (Mar 18, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14931 ### What is the issue? The tr command performs character-by-character translation, so this is wrong: ``` Remove ollama libraries from your lib directory (either /usr/local/lib, /usr/lib, or /lib): sudo rm -r $(which ollama | tr 'bin' 'lib') ``` Example with a snap (just to prove the point) ``` $ which ollama | tr 'bin' 'lib' /sbap/lib/ollama ``` ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-05 02:18:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71670