mkdir /opt/postgres mkdir /opt/postgres/pg_bin mkdir /opt/postgres/pg_db cd /opt/postgres git clone https://git.postgresql.org/git/postgresql.git cd postgresql git checkout -b REL_16_STABLE origin/REL_16_STABLE