PostgreSQL
安装
使用源码安装
下载
Index of /postgresql/latest/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
可能遇到的错误
缺少zlib库
configure: error: zlib library not found
If you have zlib already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-zlib to disable zlib support.
需要安装zlib库
sudo apt install zlib1g zlib1g-dev
ubuntu下安装PostgreSQL笔记_迷惘宅猪的专栏-CSDN博客
缺少readline库
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
需要安装readline库
sudo apt install libreadline-dev
apt - How to solve configure: error: readline library not found? - Ask Ubuntu