centos7安装PG 10客户端:
下载地址:https://yum.postgresql.org/rpmchart.php
选择版本:
选择groups:
下载客户端包,以及公共包:
上传rpm包到linux环境:
先安装PG依赖包libiu,否则报错:$ yum -y install libicu
在安装libs公共包:$ rpm -ivh postgresql10-libs-10.11-1PGDG.rhel7.x86_64.rpm
然后安装client包:$ rpm -ivh postgresql10-10.11-1PGDG.rhel7.x86_64.rpm