aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md27
1 files changed, 14 insertions, 13 deletions
diff --git a/_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md b/_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md
index 635ba21..fffd458 100644
--- a/_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md
+++ b/_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md
@@ -8,18 +8,19 @@ type: note
8--- 8---
9I have had some issues with Ollama not being up-to-date. If Ollama is installed with a curl command, it adds a systemd service. 9I have had some issues with Ollama not being up-to-date. If Ollama is installed with a curl command, it adds a systemd service.
10 10
11 sudo systemctl stop ollama 11```sh
12 sudo systemctl disable ollama 12sudo systemctl stop ollama
13 sudo rm /etc/systemd/system/ollama.service 13sudo systemctl disable ollama
14 sudo systemctl daemon-reload 14sudo rm /etc/systemd/system/ollama.service
15 15sudo systemctl daemon-reload
16 sudo rm /usr/local/bin/ollama 16
17 17sudo rm /usr/local/bin/ollama
18 sudo userdel ollama 18
19 sudo groupdel ollama 19sudo userdel ollama
20 20sudo groupdel ollama
21 rm -r ~/.ollama 21
22 sudo rm -rf /usr/share/ollama 22rm -r ~/.ollama
23 23sudo rm -rf /usr/share/ollama
24```
24 25
25That is about it. \ No newline at end of file 26That is about it. \ No newline at end of file