Installing
2. Setting Up PostgreSQL 12 Repo
How to Add PostgreSQL 12 Linux Elementary OS Apt Repository
3. Installing PostgreSQL 12
Then to Install PostgreSQL 12 for Elementary OS
Simply play:sudo apt install postgresql-12
To get installed also the Client programs add:
sudo apt install postgresql-client-12
Again to Search for other gears:
sudo apt search postgresql-12
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.