Installing and initializing postgres on SUSE Linux® Enterprise Server on IBM Z®

You must install and initialize the postgres database if it is not already installed.


  1. Run zypper or yast to see if libpq5 and postgresql10-server are already installed. For example with zypper:
    zypper se --provides libpq5
    zypper se --provides postgresql10-server
  2. Install libpq5 and postgresql10-server if they are not already installed. For example, with zypper:
    zypper install libpq5
    zypper install postgresql10-server