用 yum 安装 pgAdmin4
install pgAdmin4 with yum
是否已经有安装 pgAdmin IV Beta 桌面运行时的方法,例如百胜?我在官方网站上找到了 Python wheel 的下载 link,但没有 yum 的提示。桌面运行时似乎还不可用?
pgAdmin 4 包含在官方 PostgreSQL yum repository.
添加 RPM corresponding to your distribution 和 运行:
sudo yum install pgadmin4
确保您已启用 EPEL 和 pdgd-9x-centos 存储库
yum install pgadmin4-v1
如果您在尝试安装 pgadmin4 时遇到问题
$ yum -y install https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
$ yum -y install pgadmin4
错误:
Transaction check error: file /usr/lib64/libpq.so.5 from install of
libpq5-13.0-10PGDG.rhel7.x86_64 conflicts with file from package
postgresql-libs-9.2.24-4.el7_8.x86_64
使用:
$ sudo yum -y install pgadmin4 -x libpq5*
...
然后 libpq5... 将被忽略并安装
是否已经有安装 pgAdmin IV Beta 桌面运行时的方法,例如百胜?我在官方网站上找到了 Python wheel 的下载 link,但没有 yum 的提示。桌面运行时似乎还不可用?
pgAdmin 4 包含在官方 PostgreSQL yum repository.
添加 RPM corresponding to your distribution 和 运行:
sudo yum install pgadmin4
确保您已启用 EPEL 和 pdgd-9x-centos 存储库
yum install pgadmin4-v1
如果您在尝试安装 pgadmin4 时遇到问题
$ yum -y install https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
$ yum -y install pgadmin4
错误:
Transaction check error: file /usr/lib64/libpq.so.5 from install of libpq5-13.0-10PGDG.rhel7.x86_64 conflicts with file from package postgresql-libs-9.2.24-4.el7_8.x86_64
使用:
$ sudo yum -y install pgadmin4 -x libpq5*
... 然后 libpq5... 将被忽略并安装