PostgreSQL: Install pgAdmin 4 Desktop Mode in Ubuntu 16.04

Today i am going to share installation of PgAdmin. It is simple process to install in your ubuntu OS.
PostgreSQL recently launched the new pgAdmin 4 tool to access the PostgreSQL Database Server. In this post, I am sharing steps to install pgAdmin 4 desktop mode in Ubuntu 16.04.

Kindly Follow below step for installation.

1. First, create a virtual environment :- sudo apt-get install virtualenv python-pip libpq-dev
2 Create pgadmin4 virtual environment:-
    -cd
    -virtualenv pgadmin4
3. Now, go to pgadmin4 and activate it:
    - cd pgadmin4
    - source bin/activate
4. Download the pgadmin4:
     - wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v1.4/pip/pgadmin4-1.4-py2.py3-none-any.whl
5. Just check and verify the pgadmin4 your output should like below:- 
6. Now install pgadmin4:
    - pip install pgadmin4-1.4-py2.py3-none-any.whl
7. Do activate:
     - cd ~/pgadmin4
     - source bin/activate
8. Execute require python script:
     - python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
9. Check the output:

10. http://localhost:5050
Previous
Next Post »

statistics