Installing GDAL on Mac OSX

1. Go to
 

http://www.kyngchaos.com/software/frameworks
and install the Unix Compatibility Frameworks in this order:
  • GDAL Complete
  • GSL framework
  • FreeType
  • cairo
In all cases:
    1.1. Double click and you will get a *.dmg file in Downloads (or Descargas). 
                Wait until the download completes (GDAL Complete will take longer).
    1.2. Once the dmg is downloaded, it normally gets uncompressed by itself and the folder is automatically opened.
            Otherwise, go to Downloads and double-click on the dmg file.
    1.3. Look for the *.pkg inside the folder that opens, double click, accept the license and proceed.
            Sometimes you have to click on the path for the installation in order to get the Accept button active.

GDAL Complete: you must install both gdal.pkg and numpy.pkg

Once you have all 4 packages installed, 

2. Open a Terminal (Applications/Utilities/Terminal) and write 
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH

and hit Return
Comments