Installing PostGIS on SLES 12 ppc64le v3

Prerequisites

Before you begin the installation process:

  • Install Postgres on the same host. See:

  • Set up the EDB repository.

    Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.

    To determine if your repository exists, enter:

    zypper lr -E | grep enterprisedb

    If no output is generated, the repository isn't installed.

    To set up the EDB repository:

    1. Go to EDB repositories.

    2. Select the button that provides access to the EDB repository.

    3. Select the platform and software that you want to download.

    4. Follow the instructions for setting up the EDB repository.

  • Activate the required SUSE module:

    sudo SUSEConnect -p PackageHub/12.5/ppc64le
    sudo SUSEConnect -p sle-sdk/12.5/ppc64le
    
  • Refresh the metadata:

    sudo zypper refresh

Install the package

# To install PostGIS 3.4:
zypper -n install edb-as<xx>-postgis34

# To install PostGIS 3.1 using EDB Postgres Advanced Server 13-15:
zypper -n install edb-as<xx>-postgis3

# To install PostGIS 3.1 using EDB Postgres Advanced Server 12:
zypper -n install edb-as12-postgis

Where <xx> is the version of EDB Postgres Advanced Server. Replace <xx> with the version of EDB Postgres Advanced Server you are using. For example, edb-as15-postgis34.