PostgreSQL - SLES Repo Configuration

Available SuSE repository configuration files

You can use the zypper package manager to install PostgreSQL and/or other components on an SLES 12 host. zypper will attempt to satisfy package dependencies as it installs a package, but some components require access to specific repositories that are not hosted at postgresql.org, which are described below.

To add PostgreSQL and/or other components, use the following commands to add PostgreSQL community repository configuration files to your SLES host:

  • PostgreSQL 11 BETA TESTING ONLY, NOT FOR PRODUCTION. USE 10 PACKAGES FOR PRODUCTION

  • PostgreSQL 10

  • PostgreSQL 9.6

  • PostgreSQL 9.5

    After creating the repository configuration files, use the zypper refresh command to refresh the metadata on your SLES host to include the PostgreSQL SUSE repositories:

    Before installing PostgreSQL and/or other supporting components, you must also add SUSEConnect and the SUSE Package Hub extension to the SLES host, and register the host with SUSE, allowing access to SUSE repositories. Use the commands:

    For detailed information about registering a SUSE host, visit: https://www.suse.com/support/kb/doc/?id=7016626

    Installing PostgreSQL on SLES host


    After adding the repo, use the following command to install PostgreSQL to the SLES host:

  • PostgreSQL 11 CRASH TESTING ONLY!!! NOT EVEN FOR ALPHA TESTING, NOT FOR PRODUCTION. USE 10 PACKAGES FOR PRODUCTION

  • PostgreSQL 10

  • PostgreSQL 9.6

  • PostgreSQL 9.5
    Please take a look at the PostgreSQL SuSE package list to see what other packages are available in the repository.

    External repositories for some components

    Slony:

    If you are using a package to add Slony to an SLES host, please note that you must add access to the Perl repository:


    Then:

    PostGIS:

    When using an RPM package to add PostGIS to an SLES host, you must add the following repository:

    Then:

    pgAgent

    When adding the pgAgent packages to an SLES host, please note that you must add access to the wxWidgets repository:
    Then:

    Updating Components on a SLES Host:

    To update components installed with zypper, use the zypper update command.