From 1100562e29f6476448b656dbddd4cf22505523f6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 10 Mar 2024 14:59:14 +0100 Subject: Move back to JBMAFP --- ...2024-02-23-uninstall-ollama-from-a-linux-box.md | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md (limited to 'content/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md') diff --git a/content/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md b/content/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md new file mode 100644 index 0000000..a597c54 --- /dev/null +++ b/content/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md @@ -0,0 +1,25 @@ +--- +title: Uninstall Ollama from a Linux box +url: /uninstall-ollama-from-a-linux-box.html +type: note +date: 2024-02-23 +draft: false +--- +I have had some issues with Ollama not being up-to-date. If Ollama is installed with a curl command, it adds a systemd service. + +```sh +sudo systemctl stop ollama +sudo systemctl disable ollama +sudo rm /etc/systemd/system/ollama.service +sudo systemctl daemon-reload + +sudo rm /usr/local/bin/ollama + +sudo userdel ollama +sudo groupdel ollama + +rm -r ~/.ollama +sudo rm -rf /usr/share/ollama +``` + +That is about it. -- cgit v1.2.3