Install PostgreSQL (an open-source relational database).

Install

Once installed, 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, a CMS (primarily built with PHP) will require the php-pgsql interface.

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