Install gdal-config on my Linux

I searched the entire network, could not find a guide to get gdal-config.

I have yum, but yum doesn’t gdal-config, I already installed gdal.

I just need to do this on the shell - gdal-configand not get the command that the error was not found.

My distribution is Fedora. I haven't apt-get.

+3
source share
4 answers

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

yum install gdal gdal-devel 
+12
source

I am running Ubuntu 16.04, so I use apt-get instead of Yum. But I had problems with gdal and gdal-develop. This is the team 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

+4

I had a similar problem, that is, "gdal-config" was missing. I could solve this problem by installing development packages. Therefore, you can try installing gdal-dev .

+3
source

As far as I know, GDAL utilities, including gdal-config, are part of the download package, which you can find here: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries . They reference the Fedora version. If you installed apt-get, you can find it just by looking at GDAL.

+1
source

Source: https://habr.com/ru/post/1784566/


All Articles