Skip to content

Instantly share code, notes, and snippets.

@jczaplew
Last active August 29, 2015 14:04
Show Gist options
  • Save jczaplew/c28cad619c4a842bc65b to your computer and use it in GitHub Desktop.
Save jczaplew/c28cad619c4a842bc65b to your computer and use it in GitHub Desktop.
Install QGIS OS X
#! /bin/bash
cd ~
curl "http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.11.dmg" -o "GDAL_Complete-1.11.dmg"
hdiutil mount GDAL_Complete-1.11.dmg
sudo installer -pkg /Volumes/GDAL\ Complete/NumPy.pkg -target /
sudo installer -pkg /Volumes/GDAL\ Complete/GDAL\ Complete.pkg -target /
diskutil unmount /Volumes/GDAL\ Complete
rm GDAL_Complete-1.11.dmg
curl "http://www.kyngchaos.com/files/software/python/matplotlib-1.3.1-2.dmg" -o "matplotlib-1.3.1-2.dmg"
hdiutil mount matplotlib-1.3.1-2.dmg
sudo installer -pkg /Volumes/matplotlib/matplotlib.pkg -target /
diskutil unmount /Volumes/matplotlib
rm matplotlib-1.3.1-2.dmg
curl "http://www.kyngchaos.com/files/software/qgis/QGIS-2.8.2-1.dmg" -o "QGIS-2.8.2-1.dmg"
hdiutil mount QGIS-2.8.2-1.dmg
sudo installer -pkg /Volumes/QGIS/Install\ QGIS.pkg -target /
diskutil unmount /Volumes/QGIS
rm QGIS-2.8.2-1.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment