# 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
Unfortunately when I try to just install pgAdmin4-desktop as directed apt returns the following:
The following additional packages will be installed: pgadmin4-server The following NEW packages will be installed: pgadmin4-desktop pgadmin4-server
Which makes the three seemingly disparate commands:
sudo apt install pgadmin4
sudo apt install pgadmin4-desktop
sudo apt install pgadmin4-web
identicle, at least when trying to install just the desktop portion of pgAdmin4.
How do I install just pgAdmin4-desktop?
The desktop package is just the Electron runtime and some supporting code, along with a dependency on the server package. You need to have the server package as that's 99.999% of the pgAdmin code.
The -web package is only needed if you want to run under a webserver, and essentially just contains the required config files for doing so and a dependency on the -server package.