pgAdmin 4 (RPM)

Download

Maintainer: pgAdmin Development Team

RPMs for various Redhat and derivative distributions are available from the pgAdmin Yum repository. The following platforms are supported:

  • RHEL/CentOS 7 & 8 (x86_64)
  • Fedora 31 & 32 (x86_64)

To use this repository, first uninstall any pgAdmin repo packages that you may already have installed, for example; sudo rpm -e pgadmin4-fedora-repo or sudo rpm -e pgadmin4-redhat-repo, and then to setup the repository for this set of builds on Fedora run:

sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-1-1.noarch.rpm

or on Redhat or CentOS, run:

sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm

To install pgAdmin, run one of the following commands:

# Install for both desktop and web modes.
sudo yum install pgadmin4

# Install for desktop mode only.
sudo yum install pgadmin4-desktop

# Install for web mode only.
sudo yum install pgadmin4-web

Finally, if you have installed pgadmin4 or pgadmin4-web, run the web setup script to configure the system to run in web mode:

sudo /usr/pgadmin4/bin/setup-web.sh

Alternative Distributions

原文地址:https://www.cnblogs.com/telwanggs/p/13896293.html