install postgres 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: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib
Example 3: install postman
$ cd Downloads/
$ tar -xzf Postman-linux-x64-7.32.0.tar.gz
$ sudo mkdir -p /opt/apps/
$ sudo mv Postman /opt/apps/
$ sudo ln -s /opt/apps/Postman/Postman /usr/local/bin/postman
$ postman
Example 4: install postgresql
sudo snap install postgresql96
Example 5: debian install postgresql
apt-get install postgresql-12