源码编译安装Postgresql 12.5

1 环境

操作系统: Centos 7.6 (cat /etc/redhat-release)
postgresql版本: 11.4(因为12还是beta版)

2 准备工作
2.1 安装gcc编辑器
   [root@localhost postgresql-11.4]# gcc --version
   gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
   Copyright © 2015 Free Software Foundation, Inc.
   本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
   包括没有适销性和某一专用目的下的适用性担保。

gcc用于编译源码

2.2 安装make
    [root@localhost postgresql-11.4]# make --version
    GNU Make 3.82
    Built for x86_64-redhat-linux-gnu
    Copyright (C) 2010  Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

make用于批量编译链接源码,实际干活的还是gcc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值