[PR #15696] fix(docs): replace incorrect tr command in Linux uninstall instructions #61964

Open
opened 2026-04-29 16:55:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15696
Author: @avasis-ai
Created: 4/19/2026
Status: 🔄 Open

Base: mainHead: fix/linux-uninstall-docs-tr-command


📝 Commits (1)

  • ba37287 fix(docs): replace incorrect tr command in Linux uninstall instructions

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/linux.mdx (+1 -1)

📄 Description

Summary

  • Replaces tr 'bin' 'lib' with $(dirname $(dirname $(which ollama)))/lib/ollama in Linux uninstall docs
  • tr performs character-by-character translation, mangling paths like /snap/bin/sbap/lib
  • Uses dirname to reliably construct the corresponding lib path

Closes #14931


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15696 **Author:** [@avasis-ai](https://github.com/avasis-ai) **Created:** 4/19/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/linux-uninstall-docs-tr-command` --- ### 📝 Commits (1) - [`ba37287`](https://github.com/ollama/ollama/commit/ba372879290be0596af08be3c8a0cd6795bc0dc0) fix(docs): replace incorrect tr command in Linux uninstall instructions ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/linux.mdx` (+1 -1) </details> ### 📄 Description ## Summary - Replaces `tr 'bin' 'lib'` with `$(dirname $(dirname $(which ollama)))/lib/ollama` in Linux uninstall docs - `tr` performs character-by-character translation, mangling paths like `/snap/bin` → `/sbap/lib` - Uses `dirname` to reliably construct the corresponding lib path Closes #14931 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 16:55:56 -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#61964