Choose Docker for the fastest local setup, or Linux packages for managed host installations. The generated package commands configure the PostgreSQL dependency repositories and install the packages required by DocumentDB.
Starts DocumentDB locally on port 10260 for quick evaluation and development.
| Format | Distributions | Architectures | PostgreSQL versions | Package naming |
|---|---|---|---|---|
| APT | Ubuntu 22.04/24.04, Debian 11/12/13 | amd64, arm64 | 16, 17, 18 (Debian 11: 16, 17) | postgresql-<pg>-documentdb |
| RPM | RHEL 8/9, Rocky, AlmaLinux, CentOS Stream | x86_64, aarch64 | 16, 17, 18 | postgresql<pg>-documentdb |
Use Package Finder above to generate the exact command for your selected target instead of scanning all combinations manually.
Debian 13 packages are available in the deb13 APT component and remain downloadable as direct .deb assets from GitHub Releases.
Use the commands below to discover available versions before pinning. Replace <VERSION> with the version string shown by the list command (e.g. 0.109-0 for APT, 0.109.0-1.el9 for RPM).
APT — list then pin
apt-cache madison postgresql-16-documentdbsudo apt install postgresql-16-documentdb=<VERSION>RPM — list then pin
dnf --showduplicates list postgresql16-documentdbsudo dnf install postgresql16-documentdb-<VERSION>See all releases and release notes on GitHub Releases.
Individual .deb and .rpm files are attached to each release on GitHub. Recent release examples:
Swap the distribution, PostgreSQL version, architecture, and version string to match the exact asset you need.
Browse releases on GitHub →sudo apt update && apt search documentdb && apt-cache policy postgresql-16-documentdb documentdb_gatewaysudo dnf clean all && dnf search documentdb && rpm -qi postgresql16-documentdb documentdb-gatewaysudo systemctl status documentdb-gateway --no-pager && sudo journalctl -u documentdb-gateway --no-pager -n 20After you run documentdb-setup and the gateway is listening on port 10260, follow one of these guides to make your first connection.
See the full setup flow and choose the guide that fits your environment.
Install PyMongo and connect to your local DocumentDB instance.
Use the Node.js driver and run your first queries locally.
Connect through the VS Code extension for a guided local workflow.