From 4abcce013c9ee3053badf2abda77190233066676 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 23 Feb 2024 10:35:22 +0100 Subject: Testing thoughts page --- ...2024-02-23-uninstall-ollama-from-a-linux-box.md | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 _posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md (limited to '_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md') 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 new file mode 100644 index 0000000..fffd458 --- /dev/null +++ b/_posts/notes/2024-02-23-uninstall-ollama-from-a-linux-box.md @@ -0,0 +1,26 @@ +--- +title: Uninstall Ollama from a Linux box +permalink: /uninstall-ollama-from-a-linux-box.html +date: 2024-02-23 +layout: post +draft: false +type: note +--- +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. \ No newline at end of file -- cgit v1.2.3