首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >postgresql-devel和postgresql的版本关系是什么?

postgresql-devel和postgresql的版本关系是什么?
EN

Unix & Linux用户
提问于 2021-12-13 04:50:38
回答 2查看 907关注 0票数 -1

postgresql-devel版本是否与postgresql有关系?它有版本矩阵吗?如果我安装了postgresql 13,如何在centos中安装postgresql 13映射postgresql-devel版本?我看了这份正式文件,没有发现任何关系。我在centos中安装了postgresql 13:

代码语言:javascript
复制
postgresql13-libs-13.3-1PGDG.rhel7.x86_64
postgresql13-13.3-1PGDG.rhel7.x86_64
postgresql13-server-13.3-1PGDG.rhel7.x86_64

但是,当我使用这个命令安装postgresql时:

代码语言:javascript
复制
dnf install postgresql-devel

显示包冲突:

代码语言:javascript
复制
 file /usr/lib64/libpq.so.5 from install of postgresql-libs-9.2.24-7.el7_9.x86_64 conflicts with file from package libpq5-14.0-42PGDG.rhel7.x86_64

映射到postgresql 9的版本9.2.24-7.el7_9?如何安装postgresql 13映射的postgresql-devel?

EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2021-12-13 05:52:31

postgresql-devel包含用于创建与PostgreSQL数据库接口的程序的头、工具和文档,这些程序与自己的本地API (而不是像ODBC或JDBC这样的标准接口API )进行接口。

postgresql13-13.3-1PGDG.rhel7.x86_64.rpm的相应开发包是postgresql13-devel-13.3-1PGDG.rhel7.x86_64.rpm。它还具有RPMprovides属性,表明它是postgresql-devel的有效替代:

代码语言:javascript
复制
# rpm -q --provides -p postgresql13-devel-13.3-1PGDG.rhel7.x86_64.rpm 
warning: postgresql13-devel-13.3-1PGDG.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
postgresql13-devel-13.3-1PGDG.rhel7.x86_64
postgresql-devel >= 13.3-1PGDG.rhel7
postgresql13-devel = 13.3-1PGDG.rhel7
postgresql13-devel(x86-64) = 13.3-1PGDG.rhel7

因此,一旦安装了postgresql13-devel,依赖于postgresql-devel的任何其他包都应该考虑满足依赖关系,除非该包特别要求postgresql-devel版本小于13.3-1PGDG.rhel7

票数 2
EN

Unix & Linux用户

发布于 2021-12-13 05:42:52

使用此命令安装postgresql:

代码语言:javascript
复制
dnf install postgresql13-devel
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/681228

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档