postgresql-devel版本是否与postgresql有关系?它有版本矩阵吗?如果我安装了postgresql 13,如何在centos中安装postgresql 13映射postgresql-devel版本?我看了这份正式文件,没有发现任何关系。我在centos中安装了postgresql 13:
postgresql13-libs-13.3-1PGDG.rhel7.x86_64
postgresql13-13.3-1PGDG.rhel7.x86_64
postgresql13-server-13.3-1PGDG.rhel7.x86_64但是,当我使用这个命令安装postgresql时:
dnf install postgresql-devel显示包冲突:
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?
发布于 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的有效替代:
# 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。
发布于 2021-12-13 05:42:52
使用此命令安装postgresql:
dnf install postgresql13-develhttps://unix.stackexchange.com/questions/681228
复制相似问题