# Compiling pg\_tde into PostgreSQL 18.3 from source

**URL:** <https://forums.percona.com/t/compiling-pg-tde-into-postgresql-18-3-from-source/40626>\
**Category:** PostgreSQL\
**Created:** [April 14, 2026, 6:35am UTC](https://forums.percona.com/t/compiling-pg-tde-into-postgresql-18-3-from-source/40626 "2026-04-14T06:35:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurucubano](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/gurucubano/32/23533_2.png) [@gurucubano](https://forums.percona.com/u/gurucubano)\
**Post date:** [April 14, 2026, 6:35am UTC](https://forums.percona.com/t/compiling-pg-tde-into-postgresql-18-3-from-source/40626/1 "2026-04-14T06:35:15Z")

</div>

Hello,

We’re a software producer in the Library Management Market and compile PostgreSQL on SuSE Linux Enterprise from source. In the actual used version (16.5) we compiled pg\_tde by git cloning it to postgresql-16.5/contrib/pg\_tde, running ./configure and gmake there.

It seems that this path does not work anymore for 18.3. Am I wrong? If so, please point me to the installation instruction **from source.**

Thanks

---

<div class="post-metadata">

**Author:** ![Naeem\_Akhter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/naeem_akhter/32/5657_2.png) [@Naeem\_Akhter](https://forums.percona.com/u/Naeem_Akhter)\
**Post date:** [May 24, 2026, 1:31pm UTC](https://forums.percona.com/t/compiling-pg-tde-into-postgresql-18-3-from-source/40626/2 "2026-05-24T13:31:19Z")

</div>

Hey,

pg\_tde is only supported with **Percona Server for PostgreSQL (PSP)** versions **17** and **18**. It is not supported for versions 16 and below, as of now. Secondly, pg\_tde is not supported with PGDG (community versions) as of now.

To compile pg\_tde and make it work, you will need to use [PSP](https://github.com/percona/postgres) (an open-source fork of Postgres by Percona). If you want to build [pg\_tde](https://github.com/percona/pg_tde), please use the relevant [17](https://github.com/percona/postgres/tree/PSP_REL_17_STABLE) and [18](https://github.com/percona/postgres/tree/PSP_REL_18_STABLE) branches of PSP for building the server. Then, please use the same server for compiling the pg\_tde.

For building the server and pg\_tde, please use the standard build steps like configure, make, and make install; it should work for you.

For building pg\_tde, it doesn’t need to be in contrib specifically; you can have it outside the server, but you just need pg\_config to be in the PATH.

I hope the information shared is helpful!.

Cheers,  
Naeem Akhter
