Back to Setup

Ubuntu Postgresql

_partials/ubuntu_postgresql.md

latest433 B
Original Source

PostgreSQL

Sometimes, SQLite is not enough and we will need a more advanced tool called PostgreSQL, an open-source robust and production-ready database system.

Let's install it now.

Run the following commands:

bash
sudo apt install -y postgresql postgresql-contrib libpq-dev build-essential
bash
sudo -u postgres psql --command "CREATE ROLE \"`whoami`\" LOGIN createdb superuser;"