aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 14:59:14 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 14:59:14 +0100
commit1100562e29f6476448b656dbddd4cf22505523f6 (patch)
tree442eec492199104bd49dfd74474ce89ade8fcac9 /_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md
parenta40d80be378e46a6c490e1b99b0d8f4acd968503 (diff)
downloadmitjafelicijan.com-1100562e29f6476448b656dbddd4cf22505523f6.tar.gz
Move back to JBMAFP
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