postgresql install cmd on ubuntu code example
Example 1: ubuntu install and configure postgres server
sudo apt update
sudo apt install postgresql postgresql-contrib
Example 2: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib