Saphan StudioDocs
Deployment

Uninstall

Each route removes what it put there, and none of them touch your identity, trust material, config or state.

Per-user install:

rm -f ~/.saphan/bin/saphan ~/.saphan/bin/saphan-agent ~/.saphan/bin/saphan-gateway

System-wide package:

sudo dpkg -r saphan # or: sudo rpm -e saphan

macOS self-extracting installer:

sudo rm -f /usr/local/bin/saphan /usr/local/bin/saphan-agent /usr/local/bin/saphan-gateway

A central server you built yourself (Central servers: saphan-gateway and saphan-oauth) is not removed by any of these, because no delivery route put it there. Stop it before you delete itsaphan-gateway stop, saphan-oauth by the SIGTERM its own document describes — and then remove the file you copied, wherever you copied it to.

None of these touch ~/.saphan — your identity, trust material, config and state survive an uninstall, and are yours to remove separately if that is what you want.