环境及资源
Linux版本:ubuntu16.04
PostgresSQL版本:postgresql-10.3
PostgreSQL官网下载地址:https://www.postgresql.org/ftp/source/v10.3/
正文
安装路径为/usr/local/pgsql/
1、解压
gunzip postgresql-10.3.tar.gz
tar xf postgresql-10.3.tar
2、安装
在 /usr/local/pgsql/postgresql-10.3 目录下
执行 ./configure 查看当前环境是否支持安装
发现需要安装依赖
checking for library containing readline... no
configure: error: readline library not found
解决:apt-get install libreadline-dev