Skip to content

Install pg_tde on Red Hat Enterprise Linux and derivatives

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

Enable / disable modules

For RHEL8/Oracle Linux 8/Rocky Linux 8, 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-17.0 experimental
    

Install pg_tde

  1. Install Percona Distribution for PostgreSQL 17 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-postgresql17 percona-postgresql17-contrib percona-postgresql17-devel percona-postgresql17-libs
    
  2. Install pg_tde packages

    sudo yum install percona-pg_tde_17
    

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.