Linux uninstall instructions (#894)
This commit is contained in:
parent
b0c9cd0f3b
commit
cecf83141e
1 changed files with 20 additions and 0 deletions
|
@ -80,3 +80,23 @@ To view logs of Ollama running as a startup service, run:
|
|||
```bash
|
||||
journalctl -u ollama
|
||||
```
|
||||
|
||||
## Uninstall
|
||||
|
||||
Remove the ollama service:
|
||||
```bash
|
||||
systemctl stop ollama
|
||||
systemctl disable ollama
|
||||
rm /etc/systemd/system/ollama.service
|
||||
```
|
||||
|
||||
Remove the ollama binary from your bin directory (either `/usr/local/bin`, `/usr/bin`, or `/bin`):
|
||||
```bash
|
||||
rm /usr/local/bin/ollama
|
||||
```
|
||||
|
||||
Remove the downloaded models and Ollama service user:
|
||||
```bash
|
||||
rm /usr/share/ollama
|
||||
userdel ollama
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue