How to Install PostgreSQL on Ubuntu
PostgreSQL is a solid relational database for web apps. On Ubuntu, apt is the simplest way to start.
Steps
Update and install the server plus contrib tools.
sudo apt updatesudo apt install -y postgresql postgresql-contribCheck the service.
sudo systemctl status postgresql