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