1. Update the system

Before starting the installation process, you have to update the system by executing the following command.

$ sudo apt-get update


2. Install the required packages

Before downloading pgAdmin three packages are required to be installed. They are python, pip, and virtualenv. So, run the following command to install these packages.

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

3. Create a virtual environment

Run the following commands to create a new folder named pgAdmin4 in the current location, go to the newly created folder and create the virtual environment.

$ mkdir pgAdmin4
$ cd pgAdmin4
$ virtualenv pgAdmin4


4. Activate virtual environment

Go to the pgAdmin4 folder under pgAdmin4 and run the following commands to activate the virtual environment.

$ cd pgAdmin4
$ source bin/activate


5. Download pgAdmin 4

Run the following command to download the latest version of pgAdmin 4.

$ wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.1/pip/pgadmin4-
2.1-py2.py3-none-any.whl


6. Install pgAdmin 4


Run the following command to complete the installation process of pgAdmin 4.

$ pip install pgadmin4-2.1-py2.py3-none-any.whl


That's it !!


For any technical support,  hire our expert.


Kas see vastus oli kasulik? 1 Kasutajad peavad seda kasulikuks (39 Hääled)