Installing pg_textsearch

pg_textsearch is supported for Postgres 17 and 18 only, across all three Postgres distributions. For platform and version compatibility details, see:

Prerequisites

Before you begin the installation process:

Installing the package

The syntax for the package install command is:

# For SLES, CentOS, RHEL and its derivatives
sudo <package-manager> -y install edb-<postgres><postgres_version>-pg-textsearch

# For Debian and Ubuntu
sudo apt-get -y install edb-<postgres><postgres_version>-pg-textsearch

Where:

  • <package-manager> is the package manager used with your operating system:

    Package managerOperating system
    dnfRHEL 8/9 and derivatives
    zypperSLES
    apt-getDebian and derivatives
  • <postgres> is the distribution of Postgres you're using:

    Postgres distributionValue
    PostgreSQLpg
    EDB Postgres Advanced Serveras
    EDB Postgres Extended Serverpostgresextended
  • <postgres_version> is the version of Postgres you're using: 17 or 18.

For example, to install pg_textsearch for EDB Postgres Advanced Server 18 on a RHEL 9 platform run:

sudo dnf -y install edb-as18-pg-textsearch

Could this page be better? Report a problem or suggest an addition!