From babf4b566ecb3414d2bcb08b325d19223f23b4c8 Mon Sep 17 00:00:00 2001
From: Devrim Gunduz
You can use the zypper package manager to install PostgreSQL and/or other
- components on an SLES 12 / SLES 15 host. zypper will attempt to satisfy
+ components on an SLES 15 / 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.
+ access to specific repositories that are not hosted at postgresql.org or SLES
+ official repositories:
+
+
+zypper addrepo https://download.opensuse.org/repositories/devel:/libraries:/c_c++/15.5/devel:libraries:c_c++.repo
zypper addrepo https://download.opensuse.org/repositories/home:airbus-geo:GeoApplications-SLE15/SLE_15_SP1/home:airbus-geo:GeoApplications-SLE15.repo
zypper addrepo https://download.opensuse.org/repositories/science/15.5/science.repo
zypper addrepo https://download.opensuse.org/repositories/devel:languages:misc/SLE_15_SP4/devel:languages:misc.repo
zypper addrepo https://download.opensuse.org/repositories/Application:/Geo/15.5/Application:Geo.repo
+ 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
+ these commands:
+
+ SLES 15:
+
+ SUSEConnect -p sle-module-desktop-applications/15.5/x86_64
+ SUSEConnect -p sle-module-development-tools/15.5/x86_64
+ SUSEConnect -p PackageHub/15.5/x86_64
+
+
+ SLES 12:
+
+ zypper install SUSEConnect
+ SUSEConnect -p PackageHub/12/x86_64
+ SUSEConnect -p sle-sdk/12/x86_64
+
- To add PostgreSQL and/or other components, use the following commands to - add PostgreSQL community repository configuration files to your SLES host: + For detailed information about registering a SUSE host, visit: + https://www.suse.com/support/kb/doc/?id=7016626.
- PostgreSQL 17 (v17 PACKAGES ARE FOR ALPHA TESTING ONLY! USE v13 PACKAGES FOR PRODUCTION) -
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg17-devel.repo
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg16.repo
zypper install https://download.postgresql.org/pub/repos/zypp/reporpms/SLES-15-x86_64/pgdg-suse-repo-latest.noarch.rpm
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-12-pg15.repo
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg15.repo
- PostgreSQL 14 -
-zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-12-pg14.repo
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg14.repo
- PostgreSQL 13 -
-zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-13.repo
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg13.repo
- PostgreSQL 12 -
-zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-12.repo
zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg12.repo
- PostgreSQL 11 -
-zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-11.repo
After creating the repository configuration files, use the zypper
@@ -82,23 +73,6 @@
zypper refresh
- 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: -
-
- zypper install SUSEConnect
- SUSEConnect -p PackageHub/12/x86_64
- SUSEConnect -p sle-sdk/12/x86_64
-
-
-- For detailed information about registering a SUSE host, visit: - https://www.suse.com/support/kb/doc/?id=7016626. -
-@@ -106,19 +80,19 @@ the SLES host:
- PostgreSQL 15: + PostgreSQL 16:
- zypper install postgresql15-server
+ zypper install postgresql16-server
- PostgreSQL 14: + PostgreSQL 15:
-
- zypper install postgresql14-server
+
+ zypper install postgresql15-server
-- 2.39.5