How to install PostgreSQL 18 offline ?
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
Check PostgreSQL.org https://www.postgresql.org/download/ -- that's the
best source
Marc
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
https://www.linkedin.com/in/marclinster;
https://marclinster.medium.com
+352 621 430 156
On Tue, Nov 24, 2026 at 12:02 PM COURTAULT Francois <
francois.courtault@thalesgroup.com> wrote:
Show quoted text
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello everyone,
Sorry but it doesn’t help me ☹ unfortunately.
When you select the OS (RHEL/Rocky Linux/AlmaLinux), its version (10) and the architecture (x86_64), I have to fill the PostgreSQL version (18),
I got a setup script but this one communicates over internet !
But our customer wants our PostgreSQL installation to be totally offline, so any access to internet is forbidden.
So does it exist a set of rpms that I can download and play to install PostgreSQL rpm by rpm ?
Best Regards.
From: Marc Linster <marc@marclinster.com>
Sent: mardi 24 novembre 2026 13:13
To: COURTAULT Francois <francois.courtault@thalesgroup.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: How to install PostgreSQL 18 offline ?
Check PostgreSQL.org https://www.postgresql.org/download/ -- that's the best source
Marc
---------------------------------------
Marc Linster; Marc@MarcLinster.com<mailto:Marc@MarcLinster.com>;
https://www.linkedin.com/in/marclinster;
https://marclinster.medium.com
+352 621 430 156
On Tue, Nov 24, 2026 at 12:02 PM COURTAULT Francois <francois.courtault@thalesgroup.com<mailto:francois.courtault@thalesgroup.com>> wrote:
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
On 11/24/26 9:25 AM, COURTAULT Francois wrote:
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello everyone,
Sorry but it doesn’t help me ☹unfortunately.
When you select the OS (RHEL/Rocky Linux/AlmaLinux), its version (10)
and the architecture (x86_64), I have to fill the PostgreSQL version (18),
I got a setup script but this one communicates over internet !But our customer wants our PostgreSQL installation to be totally
offline, so any access to internet is forbidden.So does it exist a set of rpms that I can download and play to install
PostgreSQL rpm by rpm ?
A quick search found this:
https://duckduckgo.com/?t=ffab&q=offline+install+postgresql+rpms&ia=web
Though this depends on the staging machine being the same RHEL version
and architecture.
Best Regards.
--
Adrian Klaver
adrian.klaver@aklaver.com
There must be *some* way to get files onto the server. Use *that* way to
get the relevant RPMs onto the server.
On Tue, Nov 24, 2026 at 12:26 PM COURTAULT Francois <
francois.courtault@thalesgroup.com> wrote:
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello everyone,
Sorry but it doesn’t help me ☹ unfortunately.
When you select the OS (RHEL/Rocky Linux/AlmaLinux), its version (10) and
the architecture (x86_64), I have to fill the PostgreSQL version (18),
I got a setup script but this one communicates over internet !But our customer wants our PostgreSQL installation to be totally offline,
so any access to internet is forbidden.So does it exist a set of rpms that I can download and play to install
PostgreSQL rpm by rpm ?Best Regards.
*From:* Marc Linster <marc@marclinster.com>
*Sent:* mardi 24 novembre 2026 13:13
*To:* COURTAULT Francois <francois.courtault@thalesgroup.com>
*Cc:* Postgres General <pgsql-general@postgresql.org>
*Subject:* Re: How to install PostgreSQL 18 offline ?Check PostgreSQL.org https://www.postgresql.org/download/ -- that's the
best sourceMarc
---------------------------------------
Marc Linster; Marc@MarcLinster.com;
https://www.linkedin.com/in/marclinster;
https://marclinster.medium.com
+352 621 430 156 <+352%20621%20430%20156>
On Tue, Nov 24, 2026 at 12:02 PM COURTAULT Francois <
francois.courtault@thalesgroup.com> wrote:THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
Hi,
You need at the very least postgresql18, postgresql18-server and
postgresql18-libs. They have dependencies on system packages, you can
find them with such a command:
[root@localhost ~]# dnf deplist postgresql18-18.7 | grep dependency |
sort | uniq
Last metadata expiration check: 0:50:27 ago on Tue 24 Nov 2026 08:35:25
PM CET.
dependency: /bin/sh
dependency: libcrypto.so.1.1()(64bit)
dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
dependency: libc.so.6(GLIBC_2.27)(64bit)
dependency: libicu
dependency: liblz4.so.1()(64bit)
dependency: libm.so.6()(64bit)
dependency: libm.so.6(GLIBC_2.2.5)(64bit)
dependency: libpq.so.5()(64bit)
dependency: libpthread.so.0()(64bit)
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
dependency: libreadline.so.7()(64bit)
dependency: libz.so.1()(64bit)
dependency: libzstd >= 1.4.0
dependency: libzstd.so.1()(64bit)
dependency: lz4-libs
dependency: numactl-libs
dependency: openssl-libs >= 1.1.1k
dependency: postgresql18-libs(x86-64) = 18.7-1PGDG.rhel8.10
dependency: postgresql18-libs(x86-64) = 18.7-2PGDG.rhel8.10
dependency: rtld(GNU_HASH)
dependency: /sbin/ldconfig
dependency: systemd
dependency: /usr/sbin/update-alternatives
We can't tell you because it depends on how you installed this system.
You may also need postgresql18-contrib if you need some extensions.
Regards.
On 24/11/2026 18:25, COURTAULT Francois wrote:
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello everyone,
Sorry but it doesn’t help me ☹unfortunately.
When you select the OS (RHEL/Rocky Linux/AlmaLinux), its version (10)
and the architecture (x86_64), I have to fill the PostgreSQL version (18),
I got a setup script but this one communicates over internet !But our customer wants our PostgreSQL installation to be totally
offline, so any access to internet is forbidden.So does it exist a set of rpms that I can download and play to install
PostgreSQL rpm by rpm ?Best Regards.
*From:*Marc Linster <marc@marclinster.com>
*Sent:* mardi 24 novembre 2026 13:13
*To:* COURTAULT Francois <francois.courtault@thalesgroup.com>
*Cc:* Postgres General <pgsql-general@postgresql.org>
*Subject:* Re: How to install PostgreSQL 18 offline ?Check PostgreSQL.org https://www.postgresql.org/download/ <https://
www.postgresql.org/download/> -- that's the best sourceMarc
---------------------------------------
Marc Linster; Marc@MarcLinster.com <mailto:Marc@MarcLinster.com>;
https://www.linkedin.com/in/marclinster <https://www.linkedin.com/in/
marclinster>;https://marclinster.medium.com <https://marclinster.medium.com>
+352 621 430 156
On Tue, Nov 24, 2026 at 12:02 PM COURTAULT Francois
<francois.courtault@thalesgroup.com
<mailto:francois.courtault@thalesgroup.com>> wrote:THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
--
Guillaume Lelarge
Consultant
https://dalibo.com
Hi,
Another option is to create offline repo :
https://sourabhdey21.medium.com/install-and-configure-postgresql-server-offline-method-c801be5650c1
1. Download the package to a folder
2. Use createrepo_c to create
createrepo ~/postgres-offline
3. Copy the folder(postgres-offline) to air-gapped machine.
4. And create local.repo on air-gapped machine.
5. dnf install -y postgresql-server
On Wed, Nov 25, 2026 at 1:58 AM Guillaume Lelarge
<guillaume.lelarge@dalibo.com> wrote:
Hi,
You need at the very least postgresql18, postgresql18-server and
postgresql18-libs. They have dependencies on system packages, you can
find them with such a command:[root@localhost ~]# dnf deplist postgresql18-18.7 | grep dependency |
sort | uniq
Last metadata expiration check: 0:50:27 ago on Tue 24 Nov 2026 08:35:25
PM CET.
dependency: /bin/sh
dependency: libcrypto.so.1.1()(64bit)
dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
dependency: libc.so.6(GLIBC_2.27)(64bit)
dependency: libicu
dependency: liblz4.so.1()(64bit)
dependency: libm.so.6()(64bit)
dependency: libm.so.6(GLIBC_2.2.5)(64bit)
dependency: libpq.so.5()(64bit)
dependency: libpthread.so.0()(64bit)
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
dependency: libreadline.so.7()(64bit)
dependency: libz.so.1()(64bit)
dependency: libzstd >= 1.4.0
dependency: libzstd.so.1()(64bit)
dependency: lz4-libs
dependency: numactl-libs
dependency: openssl-libs >= 1.1.1k
dependency: postgresql18-libs(x86-64) = 18.7-1PGDG.rhel8.10
dependency: postgresql18-libs(x86-64) = 18.7-2PGDG.rhel8.10
dependency: rtld(GNU_HASH)
dependency: /sbin/ldconfig
dependency: systemd
dependency: /usr/sbin/update-alternativesWe can't tell you because it depends on how you installed this system.
You may also need postgresql18-contrib if you need some extensions.
Regards.
On 24/11/2026 18:25, COURTAULT Francois wrote:
THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello everyone,
Sorry but it doesn’t help me ☹unfortunately.
When you select the OS (RHEL/Rocky Linux/AlmaLinux), its version (10)
and the architecture (x86_64), I have to fill the PostgreSQL version (18),
I got a setup script but this one communicates over internet !But our customer wants our PostgreSQL installation to be totally
offline, so any access to internet is forbidden.So does it exist a set of rpms that I can download and play to install
PostgreSQL rpm by rpm ?Best Regards.
*From:*Marc Linster <marc@marclinster.com>
*Sent:* mardi 24 novembre 2026 13:13
*To:* COURTAULT Francois <francois.courtault@thalesgroup.com>
*Cc:* Postgres General <pgsql-general@postgresql.org>
*Subject:* Re: How to install PostgreSQL 18 offline ?Check PostgreSQL.org https://www.postgresql.org/download/ <https://
www.postgresql.org/download/> -- that's the best sourceMarc
---------------------------------------
Marc Linster; Marc@MarcLinster.com <mailto:Marc@MarcLinster.com>;
https://www.linkedin.com/in/marclinster <https://www.linkedin.com/in/
marclinster>;https://marclinster.medium.com <https://marclinster.medium.com>
+352 621 430 156
On Tue, Nov 24, 2026 at 12:02 PM COURTAULT Francois
<francois.courtault@thalesgroup.com
<mailto:francois.courtault@thalesgroup.com>> wrote:THALES GROUP LIMITED DISTRIBUTION to email recipients
Hello,
What are the mandatory rpms to install ?
From where could I get these rpms ?
Best Regards.
--
Guillaume Lelarge
Consultant
https://dalibo.com
--
Regards,
Tirveni Yadav
Founder
www.cloudarmour.io