how to install PgAdmin GUI code example
Example: how to install pgadmin4 ubuntu
>> curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
>> sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
>> sudo apt install pgadmin4
# this 3 step will makes pgadmin4 GUI install into your ubuntu machine