Step 1. Installation Packages

# sudo apt-get install build-essential libssl-dev libffi-dev libgmp3-dev virtualenv python-pip libpq-dev python-dev


Step 2. Create the virtual environment

# cd /opt/
# mkdir enviromentpy
# cd enviromentpy/
# virtualenv pgadmin4
# cd pgadmin4
# source bin/activate


Step 3. Download and install PGAdmin 4

# wget
# pip install pgadmin4-1.3-py2.py3-none-any.whl 


Step 4. Create the local configuration file for PGAdmin 4

# cd lib/python2.7/site-packages/pgadmin4
# touch

– Edit and add any desired configuration options (use the file as a reference – any settings duplicated in will override those in To configure PGAdmin 4 to run in single-user mode add the following line:

# echo "SERVER_MODE = False" >> lib/python2.7/site-packages/pgadmin4/


Step 5. Run PGAdmin 4

# python lib/python2.7/site-packages/pgadmin4/

 Enter the email address and password to use for the initial pgAdmin user account:

        Email address:

– you will prompt it to add an email address and a password to access PGAdmin 4


Now Access at http://localhost:5050 and connect your PostgreSQL Server.


For any technical support,  hire our expert.

Was this answer helpful? 0 Users Found This Useful (0 Votes)