# Install pg_tde

> Choose packages, containers, Kubernetes, or a source archive for your PostgreSQL deployment.

---

LLMS index: [llms.txt](/llms.txt)

---

> The packages and support matrix below belong to Percona PostgreSQL. Build pg_tde against the matching Mimus installation before enabling it. [Mimus procedure](/docs/patches/base/#components)

You can select from multiple easy-to-follow installation options to install `pg_tde`, however **we strongly recommend using a Package Manager** for a convenient and quick installation.

`pg_tde` availability by PostgreSQL version:

| **PostgreSQL version** | **Is pg_tde installed automatically?** | **Action Required** |
| -------- | -------- | -------- |
| 17.x - 17.6 (minor updates) | Yes | None |
| 17.7 (and later) | No | Install the package manually |
| 18.x (and later) | No | Install the package manually |

> [!IMPORTANT]
> Starting with PPG 17.7, `pg_tde` is no longer bundled with the Percona server for PostgreSQL package. It is now delivered as a separate package named `percona-pg-tde(pg-version)` for Debian or Ubuntu and `percona-pg_tde(pg-version)` for Red Hat Enterprise Linux and Derivatives.

> [!NOTE]
> Specific information on the supported platforms, products, and versions is described in the [Percona Software and Platform Lifecycle ](https://www.percona.com/services/policies/percona-software-support-lifecycle) page.

**Package manager**

Percona provides installation packages in DEB and RPM formats for 64-bit Linux distributions.

If you are on Debian or Ubuntu, use `apt` for installation.

If you are on Red Hat Enterprise Linux or compatible derivatives, use `yum` for installation.

[Install on Debian or Ubuntu ](/docs/tde/upstream/apt/)
[Install on RHEL or derivatives ](/docs/tde/upstream/yum/)

**Docker**

`pg_tde` is a part of the Percona Distribution for PostgreSQL Docker image. Use this image to enjoy full encryption capabilities. Check below to get access to a detailed step-by-step guide. 

[Run in Docker ](https://docs.percona.com/postgresql/17/docker.html#enable-encryption)

**Kubernetes**

You can enable `pg_tde` when deploying Percona Server for PostgreSQL in Kubernetes using the Percona Operator.

**Tar download \(not recommended\)**

`pg_tde` is included in the Percona Distribution for PostgreSQL tarball. Select the below link to access the step-by-step guide. 

[Install from tarballs ](https://docs.percona.com/postgresql/18/tarball.html)

## Next steps {#next-steps}

After finishing the installation, you can proceed with:

[Set up pg_tde](/docs/tde/upstream/setup/)
[Learn about key management](/docs/tde/upstream/global-key-provider-configuration/overview/)
[Validate your encryption setup](/docs/tde/upstream/test/)
[Enable WAL encryption](/docs/tde/upstream/wal-encryption/)

[PG.CENTER edition](https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/install.md) · [Upstream source](https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/install.md)

---

Backlinks:

- [Percona pg_tde 2.3.0 upstream manuals](/docs/tde/upstream/)
- [Usage reference](/docs/tde/upstream/advanced-topics/usage-guide/)
- [A production checklist for pg_tde](/docs/tde/upstream/blog/guide/production-checklist/)
- [What is TDE?](/docs/tde/upstream/index/about-tde/)
- [Supported versions](/docs/tde/upstream/index/supported-versions/)
- [Limitations](/docs/tde/upstream/index/tde-limitations/)
- [Introduction](/docs/tde/upstream/overview/)
- [Alpha 1](/docs/tde/upstream/release-notes/alpha1/)
- [Beta](/docs/tde/upstream/release-notes/beta/)
- [Beta 2](/docs/tde/upstream/release-notes/beta2/)
- [RC 1](/docs/tde/upstream/release-notes/rc/)
- [RC 2](/docs/tde/upstream/release-notes/rc2/)
- [1.0.0](/docs/tde/upstream/release-notes/release-notes-v1.0/)
- [2.0.0](/docs/tde/upstream/release-notes/release-notes-v2.0/)
- [2.1.0](/docs/tde/upstream/release-notes/release-notes-v2.1/)
- [2.1.1](/docs/tde/upstream/release-notes/release-notes-v2.1.1/)
- [2.1.2](/docs/tde/upstream/release-notes/release-notes-v2.1.2/)
- [2.2.0](/docs/tde/upstream/release-notes/release-notes-v2.2.0/)
- [2.2.1](/docs/tde/upstream/release-notes/release-notes-v2.2.1/)
- [2.2.2](/docs/tde/upstream/release-notes/release-notes-v2.2.2/)
- [pg_tde 2.3.0 (2026-11-17)](/docs/tde/upstream/release-notes/release-notes-v2.3.0/)
