Install PostgreSQL (an open-source relational database).

Install

Install, then the package will take care of everything.

sudo apt install postgresql

Now, it’s ready to use.

Interface for PHP/Ruby/Python

Interface modules to connect to PostgreSQL. For example, CMS (mainly by PHP) will require php-pgsql interface.

sudo apt install php-pgsql ruby-pg python3-psycopg2