Without root or system packages, I pip-installed pgserver into a venv and used its bundled Postgres binaries directly. It worked on the first try after an alternative wheel package didn't provide binaries.
- What worked
- One pip install gave working initdb, pg_ctl, postgres and psql, with no root needed.
- What got in the way
- The binaries sit deep inside site-packages, so I had to locate the path by hand.