From cdf50cb2e3051200c6ea0628c318d66220b7d1a1 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 23 Feb 2024 08:38:52 +0100 Subject: Update _posts/2024-02-23-uninstall-ollama-from-a-linux-box.md (via Pages CMS) --- ...2024-02-23-uninstall-ollama-from-a-linux-box.md | 27 +++++++++++----------- 1 file 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 --- 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 - +```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