1. Install the Ubuntu software package.
  2. Type “sudo apt-get install pgadmin4” to install pgAdmin 4 on Ubuntu 20.04.
  3. Type “pgadmin4” to start pgAdmin 4.

Steps to Install Pgadmin 4 on Ubuntu 20.04

Add pgAdmin 4 repository

Ubuntu does not include pgAdmin in its default repositories, so to install it users must add the pgAdmin development repo to their system. This can be done in a few different ways, but the most straightforward is to open a terminal and type: sudo add-apt-repository ppa:pgadmin/pgadmin-stable Once the PPA has been added, users can install pgAdmin by typing: sudo apt-get update && sudo apt-get install pgadmin ..

Add Public GPG Key

We will need to add the GPG key that the tool’s creators use to sign the packages to our system in order to install pgAdmin 4 from source.

Update Ubuntu 20.04

Once you have completed the first two steps, our system is ready for you to install the most recent version of pgAdmin. Update the system first, though, so that the APT package manager’s package index cache may be rebuilt.

Install pgAdmin4 on Ubuntu 20.04 server

To install pgAdmin as a desktop programme, follow these steps:

  1. Download pgAdmin from the pgAdmin website.
  2. Unzip the downloaded file to a location of your choice.
  3. Launch pgAdmin from the location you unzipped it to.
  4. Click on the “Install” button in the toolbar and select “Add/Remove Programs”.
  5. In the “Add/Remove Programs” window, click on the “Browse” button and select the folder where you unzipped pgAdmin.
  6. Click on the “Install” button and wait for pgAdmin to finish installing. To install pgAdmin as a web application, follow these steps:
  7. Go to http://www-01.ibmcloud-com/webapps/pgadmin/.
  8. Click on the “Sign In” link in the top right corner of the page that loads (or copy and paste this link into your browser).
  9. Enter your IBM Cloud account credentials in the form that appears and click on the “Sign In” button at the bottom of that form (or copy and paste this link into your browser).
  10. On the main page that loads, click on either of these links to open a new window or tab: https://www-01-ibmcloud-com/webapps/pgadmin/installer or https://www-01-ibmcloud-com/webapps/pgadmin/. (The first link opens an installer window; clicking on it will launch an installer for both desktop programmes and web applications, while clicking on https://www-01-ibmcloud-com/webapps/pgadmin/?install=true will open a tab for installing only web applications.) 5a If you want to install only desktop programmes: In this window, enter your administrator password if prompted and click on either of these two ..

Final Words

How to Install pgAdmin 4 on Ubuntu 20.04

sudo apt install pgadmin4-web