curl -LO https://ftp.postgresql.org/pub/source/v11.21/postgresql-11.21.tar.gz tar xvzf postgresql-11.21.tar.gz cd postgresql-11.21 ./configure --with-includes=/usr/local/include --with-libraries=/usr/local/lib gmake gmake -C src/bin install (確認) /usr/local/pgsql/bin/psql --version psql (PostgreSQL) 11.21