Operating system-specific install instructions are described in the corresponding documentation:
RHEL 9
Oracle Linux (OL) 9
Installing PostGIS on Debian 11 x86_64
Installing PostGIS
Installing PostGIS on RHEL 9 or OL 9 arm64