[PR #14976] docs: fix Linux uninstall command using sed instead of tr #77243

Open
opened 2026-05-05 09:55:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14976
Author: @guoyangzhen
Created: 3/20/2026
Status: 🔄 Open

Base: mainHead: fix/linux-uninstall-docs


📝 Commits (1)

  • 605bcdc docs: fix Linux uninstall command using sed instead of tr (#14931)

📊 Changes

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

View changed files

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

📄 Description

Problem

The Linux uninstall docs use to replace the directory component of the ollama path. However, performs character-by-character translation, so it replaces:

  • b → l
  • i → i (unchanged)
  • n → b

This mangles paths like → .

Fix

Use which correctly replaces the directory component of the path:


🔄 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/14976 **Author:** [@guoyangzhen](https://github.com/guoyangzhen) **Created:** 3/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/linux-uninstall-docs` --- ### 📝 Commits (1) - [`605bcdc`](https://github.com/ollama/ollama/commit/605bcdc9902c350b406decc2550af3a7ab804561) docs: fix Linux uninstall command using sed instead of tr (#14931) ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/linux.mdx` (+1 -1) </details> ### 📄 Description ## Problem The Linux uninstall docs use to replace the directory component of the ollama path. However, performs character-by-character translation, so it replaces: - b → l - i → i (unchanged) - n → b This mangles paths like → . ## Fix Use which correctly replaces the directory component of the path: - → ✅ - → ✅ --- <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-05-05 09:55:13 -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#77243