1) Install the public key:
sudo curl https://www.pgadmin.org/static/packag... | sudo apt-key add
2) Create the repository configuration file
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmi... pgadmin4 main" ANGULARBRACKET /etc/apt/sources.list.d/pgadmin4.list && apt update'
NOTE: REPLACE 'ANGULARBRACKET' WITH actual angular bracket somehow youtube doesn't allows us to put angular bracket in description
3) sudo apt install pgadmin4
pgadmin4 url: https://www.pgadmin.org/download/pgad...