how to install psql shell ubuntu code example
Example 1: ubuntu connect to postgres
sudo su - postgres
Example 2: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib
sudo su - postgres
sudo apt install postgresql postgresql-contrib