Ubuntu 20.04 - Install PostgreSQL
Similar Posts
Native Package - PostgreSQL 12
PostgreSQL Repository
If you want to install the very latest version of PostgreSQL (current PostgreSQL 13), then you will need to add their repository which can be done with the script below:
... then you can install whichever version you want, including version 13.
Check Version
If you want to check what version of PostgreSQL you are now running, use the following command:
Configure It
After having installed PostgreSQL, you probably want to spend a bit of time configuring it (passwords etc).
References
- PostgreSQL Docs - Linux downloads (Ubuntu)
- Stack Overflow - Which version of PostgreSQL am I running?
Last updated: 3rd September 2023
First published: 23rd October 2020
First published: 23rd October 2020