aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md')
-rw-r--r--_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md26
1 files changed, 0 insertions, 26 deletions
diff --git a/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md b/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md
deleted file mode 100644
index fffd458..0000000
--- a/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md
+++ /dev/null
@@ -1,26 +0,0 @@
1---
2title: Uninstall Ollama from a Linux box
3permalink: /uninstall-ollama-from-a-linux-box.html
4date: 2024-02-23
5layout: post
6draft: false
7type: note
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.
10
11```sh
12sudo systemctl stop ollama
13sudo systemctl disable ollama
14sudo rm /etc/systemd/system/ollama.service
15sudo systemctl daemon-reload
16
17sudo rm /usr/local/bin/ollama
18
19sudo userdel ollama
20sudo groupdel ollama
21
22rm -r ~/.ollama
23sudo rm -rf /usr/share/ollama
24```
25
26That is about it. \ No newline at end of file