Installing gdal-config on my linux

放肆的年华 提交于 2019-12-05 21:26:32

You probaby have "yum" instead of "apt-get" on Fedora. Try..

yum install gdal gdal-devel 

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.

Ezra Boyd

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:

sudo apt-get install gdal-bin libgdal-dev

I found the package names from here: https://launchpad.net/ubuntu/+source/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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!