Operating system-specific install instructions are described in the corresponding documentation:
RHEL 9
RHEL 8
Installing PostGIS on Debian 12 arm64
Installing PostGIS
Installing PostGIS on RHEL 9 ppc64le