instal postgresql ubuntu code example

Example 1: postgresql install ubuntu

sudo apt update
sudo apt install postgresql postgresql-contrib

sudo -u postgres createuser --interactive

sudo -u postgres createdb database1

Example 2: how to install psql in ubuntu

sudo apt-get install postgresql

Example 3: ubuntu install and configure postgres server

sudo apt update
sudo apt install postgresql postgresql-contrib

Example 4: install postgresql ubuntu

sudo apt install postgresql postgresql-contrib

Example 5: how to install postgres in ubuntu

root@pooja-virtual-machine:~# apt-get install postgresql-11

Tags:

Sql Example