在我的 Linux 上安装 gdal-config
我搜索整个网络找不到获取gdal-config
的指南。
我有 yum,但 yum 没有 gdal-config
,我已经安装了 gdal
。
我只需要能够在 shell - gdal-config
上执行此操作,并且不会收到命令未找到错误。
我的发行版是 Fedora。我没有apt-get
。
I search the entire net could not find a guide to get gdal-config
.
I have yum but yum does not have gdal-config
, i already installed gdal
.
I just need to be able to do this on shell - gdal-config
and not get a command not found error.
My distro is Fedora. I don't have apt-get
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可能在 Fedora 上使用“yum”而不是“apt-get”。尝试..
You probaby have "yum" instead of "apt-get" on Fedora. Try..
我运行的是 Ubuntu 16.04,所以我使用 apt-get 而不是 Yum。但我在 gdal 和 gdal-develop 方面遇到了麻烦。这是对我有用的命令:
我从这里找到了包名称:
https://launchpad.net/ubuntu/+source/gdal
I'm running Ubuntu 16.04, so I use apt-get instead of Yum. But I had trouble with gdal and gdal-develop. This is command that worked for me:
I found the package names from here:
https://launchpad.net/ubuntu/+source/gdal
我有一个类似的问题,那就是“gdal-config”丢失。我可以通过安装开发包来解决这个问题。所以你可以尝试安装gdal-dev。
I had a similar problem, that is "gdal-config" was missing. I could solve it by installing the development packages. So you could try installing gdal-dev.
据我所知,GDAL 实用程序(包括 gdal-config)是下载包的一部分,您可以在这里找到:http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries。它们链接到 Fedora 版本。如果你安装了apt-get,直接查找GDAL就可以找到。
As far as I know, the GDAL utilities, including gdal-config, are part of the download package that you can find here: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries. They link to a Fedora version. If you installed apt-get, you could find it by looking for GDAL directly.