How to Install
2. Setting Up PostgreSQL 16 Repo
How to Add PostgreSQL 16 Linux Ubuntu Apt Repository
3. Installing PostgreSQL 16
Then to Install PostgreSQL 16 for Ubuntu
Especially relevant: in case you have a previous PostgreSQL Setup on System you may need first of Removing it.
Simply play:sudo apt install postgresql-16 postgresql-client-16
In case of a libpq5 Version issue, then first Remove any existing PostgresSQL Installation or provide to: Download & Install Manually the Library.
Again to Search for other gears:apt search postgresql-16