Install other packages and latest Postgres Ubuntu 20.04 comes with Postgres 12 from it’s universe repository. Since we want version 13, we can directly use the PostgreSQL project’s official APT ...
I use manual installation because we can choose the version to install. To manually configure the apt repository, follow these steps. Import the repository signing key: sudo apt install curl ...