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