环境 ubuntu 14.04 桌面版

 

postgresql 源码下载链接,本教程是使用postgresql 9.3.4 进行编译的

http://www.postgresql.org/ftp/source/

 

首先我们需要给ubuntu 安装几个包,因为 postgresql 编译时依赖

install libreadline
> apt-get install libreadline6 libreadline6-dev

install zlib
> apt-get install zlib1g-dev

 

生成make 文件

./configure --prefix=/opt/sequoiadb/pgsql

 

然后编译、安装

make && make install

 

这样就完成了 postgresql 源码编译

 

参考文章:
https://autofei.wordpress.com/2011/02/17/install-postgresql-9-0-from-source-code-at-ubuntu/

相关文章:

  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-06-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-13
  • 2022-12-23
  • 2021-05-22
  • 2021-07-08
  • 2021-06-02
  • 2022-12-23
相关资源
相似解决方案