CentOS7中安装PostgreSQL客户端 1、下载源 yum install pgdg-centos96-9.6-3.noarch.rpm epel-release 2、更新源 yum update -y 3、安装客户端 yum install postgresql -y