aboutsummaryrefslogtreecommitdiff
path: root/_posts
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 08:38:52 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-02-23 08:38:52 +0100
commitcdf50cb2e3051200c6ea0628c318d66220b7d1a1 (patch)
treeff4eb760361b5325abf932e82aaaa4a46cd1d4d1 /_posts
parent5c6ff4aa4c24c0fc73829c2878cab5a716c05164 (diff)
downloadmitjafelicijan.com-cdf50cb2e3051200c6ea0628c318d66220b7d1a1.tar.gz
Update _posts/2024-02-23-uninstall-ollama-from-a-linux-box.md (via Pages CMS)
Diffstat (limited to '_posts')
-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