Install on Linux
Quick install
curl -fsSL anonymizer.site/install | shThe installer sets up uv if needed, installs
docs-anonymizer under your user account, and offers optional Tesseract OCR
setup on apt-based systems. Do not run it with sudo.
If you prefer to manage every package yourself, use the manual steps below.
Manual uv install
curl -LsSf https://astral.sh/uv/install.sh | shThen start a new shell so uv is on PATH.
uv tool install docs-anonymizerInstall Tesseract language data if you need scanned or hybrid PDF OCR:
# Ubuntu / Debiansudo apt install tesseract-ocr tesseract-ocr-eng tesseract-ocr-rus
# Fedorasudo dnf install tesseract tesseract-langpack-eng tesseract-langpack-rus
# Archsudo pacman -S tesseract tesseract-data-eng tesseract-data-rusRun:
anonymizeYour browser opens at http://127.0.0.1:<port>.
Where it installs
~/.local/share/uv/tools/docs-anonymizer/— the wheel and its dependencies~/.local/bin/anonymize— the launcher
Tested distros
Maintainer-tested:
- Ubuntu 22.04 / 24.04
- Debian 12 (bookworm)
- Fedora 39+
- Arch (rolling)
Should work on any glibc-based 64-bit Linux. The installer pins Python 3.12 via uv tool install --python 3.12 because blis (a transitive spaCy dependency) only ships pre-built wheels for cp310–cp312. uv downloads a managed CPython 3.12 if your system has only 3.13+ installed. Alpine / musl is not supported (PyMuPDF wheels require glibc).
Verify OCR after installing Tesseract:
anonymize doctor --no-network