Install pg_tde
on Debian or Ubuntu¶
The packages for the tech preview pg_tde
are available in the experimental repository for Percona Distribution for PostgreSQL 17.
Check the list of supported platforms.
This tutorial shows how to install pg_tde
with Percona Distribution for PostgreSQL.
Preconditions¶
You need the percona-release
repository management tool that enables the desired Percona repository for you.
-
You need the following dependencies to install
percona-release
:wget
gnupg2
curl
lsb-release
Install them with the following command:
sudo apt-get install -y wget gnupg2 curl lsb-release
-
Fetch the
percona-release
packagesudo wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb
-
Install
percona-release
sudo dpkg -i percona-release_latest.generic_all.deb
-
Enable the Percona Distribution for PostgreSQL repository
Percona provides two repositories for Percona Distribution for PostgreSQL. We recommend enabling the Major release repository to timely receive the latest updates.
$ sudo percona-release setup ppg-17
-
Enable the experimental Percona Distribution for PostgreSQL repository that contains the pg_tde package
sudo percona-release enable ppg-17.0 experimental
-
Update the local cache
sudo apt-get update
Install pg_tde
¶
-
Install Percona Distribution for PostgreSQL.
Run the following command to install Percona Distribution for PostgreSQL and the required packages:
sudo apt-get install -y percona-postgresql-17 percona-postgresql-contrib percona-postgresql-server-dev-all
-
Install
pg_tde
packagessudo apt-get install percona-postgresql-17-pg-tde
Next step¶
Get expert help¶
If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.