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
Write and read structs to/from files in Cc
Extract lines from a file with sed
Add lazy loading of images in Jekyll posts
Grep to Less that maintain colors
Making cgit look nicer
10/GUI 10 Finger Multitouch User Interface
Display xterm color palette
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Install Plan9port on Linuxplan9
Using ffmpeg to combine videos side by side
Push to multiple origins at once in Git
Male and female body proportion reference images3d
Run 9front in Qemuplan9
Aerial photography of algae spotted on river Sava
Change Alt key to Win key under Xfce4