Skip to content

Install pg_tde on Debian or Ubuntu

Install the separate pg_tde package from Percona’s Debian and Ubuntu repositories.

The packages and support matrix below belong to Percona PostgreSQL. Build pg_tde against the matching Mimus installation before enabling it. Mimus procedure

This page explains how to install pg_tde for Percona Distribution for PostgreSQL .

Tip

Check the list of supported platforms before continuing.

Preconditions

  1. Remove any upstream PostgreSQL packages (postgresql-*) that may already be installed on Debian or other apt-based systems. These packages conflict with Percona Server for PostgreSQL and with the standalone pg_tde package.
  2. Ensure you enable the Percona APT repository using the repository management tool percona-release. This ensures the correct Percona Server for PostgreSQL and pg_tde packages are available for installation.

Install percona-release

  1. You need the following dependencies to install percona-release:

    • wget
    • gnupg2
    • curl
    • lsb-release

    Install the dependencies:

    sudo apt-get install -y wget gnupg2 curl lsb-release
  2. Fetch the percona-release package

    sudo wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb
  3. Install percona-release

    sudo dpkg -i percona-release_latest.generic_all.deb
  4. Enable the Percona Distribution for PostgreSQL repository

    sudo percona-release enable-only ppg-18
  5. Update the local cache

    sudo apt-get update

Install pg_tde

After all preconditions are met, install the pg_tde package:

sudo apt-get install -y percona-pg-tde(pg-version)

Example for PostgreSQL 18

sudo apt-get install -y percona-pg-tde18

Next steps

Configure pg_tde

PG.CENTER edition · Upstream source