centos libgeos 存储库丢失 [英] centos libgeos repository missing

查看:27
本文介绍了centos libgeos 存储库丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 centos 7.3 上,尝试安装 shapely 或 geopandas 需要访问 https://github.com/libgeos/libgeos libgeos.

On centos 7.3 minimal trying to install shapely or geopandas requires access to https://github.com/libgeos/libgeos libgeos.

试图通过 sudo yum install libgeos-dev 安装它告诉我这个包不可用.看来我缺少存储库.到目前为止,我一直找不到像 http://trac.osgeo.org/geos 这样的工作指向 https://yum.postgresql.org/repopackages.php#pg96RPM 但仍然在 rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm 安装未找到候选人.

Trying to install this via sudo yum install libgeos-dev tells me that this package is not available. It seems that I am lacking a repository. So far I have been unable to find a working one as http://trac.osgeo.org/geos is pointing to https://yum.postgresql.org/repopackages.php#pg96 for the RPM but still after rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm the installation candidate is not found.

推荐答案

好像CentOS这个包叫geos-devel,可以通过RPM Fusion找到.

It seems that for CentOS this package is called geos-devel and can be found through RPM Fusion.

yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum install geos-devel

另请参阅:https://rpmfusion.org/Configuration

这篇关于centos libgeos 存储库丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆