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 11 (Bullseye) x86_64 4.30 -
Debian 12 (Bookworm) x86_64 7.0 -
Ubuntu 22.04 (Jammy) x86_64 6.9 -
Ubuntu 24.04 (Noble Numbat) x86_64 8.7 -
Ubuntu 24.10 (Oracular Oriole) x86_64 8.13 9.5
Ubuntu 25.04 (Plucky Puffin) x86_64 9.3 -

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