Install pgAdmin 4 on Ubuntu 16.04

or pgAdmin 4 v1.2 on Ubuntu 16.04, according to the download page and desktop deployment:

Install dependencies, create a virtual environment, download, install & configure

sudo apt-get install virtualenv python-pip libpq-dev python-dev

virtualenv pgadmin4
cd pgadmin4
source bin/activate


pip install pgadmin4-1.2-py2-none-any.whl


Write the SERVER_MODE = False in lib/python2.7/site-packages/pgadmin4/ to configure to run in single-user mode:

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


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

Access at http://localhost:5050


Other option is to use docker and a docker image provided by thaJeztah –

$ docker run --rm -p 5050:5050 thajeztah/pgadmin4





4 thoughts on “Install pgAdmin 4 on Ubuntu 16.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s