From 408c807feec4d6543559aa7f0cc3033689f76a12 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 23 Feb 2024 08:36:45 +0100 Subject: Create _posts/2024-02-23-uninstall-ollama-from-a-linux-box.md (via Pages CMS) --- ...2024-02-23-uninstall-ollama-from-a-linux-box.md | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 _posts/2024-02-23-uninstall-ollama-from-a-linux-box.md 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 new file mode 100644 index 0000000..71e1bbc --- /dev/null +++ b/_posts/2024-02-23-uninstall-ollama-from-a-linux-box.md @@ -0,0 +1,25 @@ +--- +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. + + 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