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 8.9
Debian 11 (Bullseye) x86_64 4.30 -
Debian 12 (Bookworm) x86_64 7.0 -
Ubuntu 16.04 (Xenial) x86_64 4.22 4.30
Ubuntu 18.04 (Bionic) x86_64 4.22 6.21
Ubuntu 19.04 (Disco) x86_64 4.22 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 -
Ubuntu 22.10 (Kinetic Kudu) x86_64 6.16 7.5
Ubuntu 23.04 (Lunar Lobster) x86_64 7.1 8.3
Ubuntu 23.10 (Mantic Minotaur) x86_64 8.0 8.9
Ubuntu 24.04 (Noble Numbat) x86_64 8.7 -

IMPORTANT NOTE: Packages for distributions that are no longer supported will be archived to https://pgadmin-archive.postgresql.org/, from where they can be manually downloaded. The archive site cannot be used as a repository!

To use this repository, run the following commands:

#
# Setup the repository
#

# Install the public key for the repository (if not done previously):
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg

# Create the repository configuration file:
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] 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