Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing gdal-config on my linux

Tags:

gdal

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.

like image 269
David Avatar asked Nov 28 '22 06:11

David


2 Answers

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

yum install gdal gdal-devel 
like image 77
frugardc Avatar answered Jan 28 '23 22:01

frugardc


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

like image 23
Ezra Boyd Avatar answered Jan 28 '23 21:01

Ezra Boyd