Fork me on GitHub

pgAdmin 4 (APT)

Download

Maintainer: pgAdmin Development Team

DEBs for various Debian and Ubuntu versions are available from the pgAdmin APT repository. The following platforms are supported:

Platform Architecture First supported release Last supported release
Debian 9 (Stretch) x86_64 4.22 5.3
Debian 10 (Buster) x86_64 4.22 -
Debian 11 (Bullseye) x86_64 4.30 -
Ubuntu 16.04 (Xenial) x86_64 4.22 4.30
Ubuntu 18.04 (Bionic) x86_64 4.22 -
Ubuntu 19.10 (Eoan) x86_64 4.22 4.29
Ubuntu 20.04 (Focal) x86_64 4.22 -
Ubuntu 20.10 (Groovy) x86_64 4.30 5.5
Ubuntu 21.04 (Hirsute) x86_64 5.3 6.4
Ubuntu 21.10 (Impish) x86_64 6.2 -6.11
Ubuntu 22.04 (Jammy) x86_64 6.9 -

To use this repository, run the following commands:

#
# Setup the repository
#

# Install the public key for the repository (if not done previously):
sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub > /etc/apt/trusted.gpg.d/packages_pgadmin_org.pub

# Create the repository configuration file:
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

#
# Install pgAdmin
#

# Install for both desktop and web modes:
sudo apt install pgadmin4

# Install for desktop mode only:
sudo apt install pgadmin4-desktop

# Install for web mode only: 
sudo apt install pgadmin4-web 

# Configure the webserver, if you installed pgadmin4-web:
sudo /usr/pgadmin4/bin/setup-web.sh

Alternative Distributions