From 40a0a90a888fb3ee66f8df0e8580c6efdc3aa515 Mon Sep 17 00:00:00 2001 From: Tristram Oaten Date: Fri, 12 Jan 2024 05:07:00 +0000 Subject: [PATCH] Add group delete to uninstall instructions (#1924) After executing the `userdel ollama` command, I saw this message: ```sh $ sudo userdel ollama userdel: group ollama not removed because it has other members. ``` Which reminded me that I had to remove the dangling group too. For completeness, the uninstall instructions should do this too. Thanks! --- docs/linux.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/linux.md b/docs/linux.md index 45d0f38f..abd63320 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -109,8 +109,9 @@ Remove the ollama binary from your bin directory (either `/usr/local/bin`, `/usr sudo rm $(which ollama) ``` -Remove the downloaded models and Ollama service user: +Remove the downloaded models and Ollama service user and group: ```bash sudo rm -r /usr/share/ollama sudo userdel ollama +sudo groupdel ollama ```