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

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

问题描述

在centos 7.3上,尝试最小化安装整形或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#pg96 RPM,但仍在rpm之后-Uvh

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天全站免登陆