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