tar xf postgresql-12.3.tar.gz cd postgresql-12.3/ ./configure --prefix=/opt/postgresql make -j4 make install