Uninstall Ollama from a Linux box

note, Feb 23, 2024, on Mitja Felicijan's blog

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.

Other notes

DateTitle
Using ffmpeg to combine videos side by side
Set color temperature of displays on i3
Change permissions of matching files recursively
Make DCSS playable on 4k displaysdcss
Run 9front in Qemuplan9
Use option key as meta in Alacritty under macOS
Add lazy loading of images in Jekyll posts
Display xterm color palette
Aerial photography of algae spotted on river Sava
Lua performance in different environments
Easy measure time took in a bash script
Fix screen tearing on Debian 12 Xorg and i3
Extend Lua with custom C functions using Clangc
Drawing Pixels in Plan9plan9
Compile drawterm on Fedora 38plan9