Skip to content

Install pg_tde on Red Hat Enterprise Linux and derivatives

In version Aplha1, pg_tde packages are available in the testing repository for Percona Distribution for PostgreSQL 16.2. Check the list of supported platforms.

This tutorial shows how to install pg_tde with Percona Distribution for PostgreSQL.

Preconditions

Enable / disable modules

Install the epel-release package:

sudo yum -y install epel-release
sudo yum repolist

Disable the postgresql and llvm-toolsetmodules:

sudo dnf module disable postgresql llvm-toolset

Install percona-release

You need the percona-release repository management tool that enables the desired Percona repository for you.

  1. Install percona-release:

    sudo yum -y install https://repo.percona.com/yum/percona-release-latest.noarch.rpm 
    
  2. Enable the repository

    sudo percona-release enable-only ppg-16.2 testing
    

Install Percona Distribution for PostgreSQL

To install Percona Distribution for PostgreSQL 16 and the required packages, run the following command:

sudo yum -y install percona-postgresql-client-common percona-postgresql-common percona-postgresql-server-dev-all percona-postgresql16 percona-postgresql16-contrib percona-postgresql16-devel percona-postgresql16-libs

Install pg_tde

To install pg_tde packages, run the following command:

sudo yum install percona-pg_tde_16

Next steps

Setup

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.