Last active
September 19, 2016 21:14
-
-
Save mhkeller/6488984dd0e574208019 to your computer and use it in GitHub Desktop.
QGIS installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install XCode from app store if you haven't already | |
# Then install command-line tools | |
xcode-select --install | |
# Download XQuartz from http://xquartz.macosforge.org/landing/ | |
# Install XQuartz | |
# Restart computer | |
# Run | |
brew update | |
brew doctor | |
# If all good... | |
brew tap osgeo/osgeo4mac | |
# Check here for latest qgis version and replace the formula name below if there is newer | |
# https://github.com/OSGeo/homebrew-osgeo4mac/tree/master/Formula | |
brew install osgeo/osgeo4mac/qgis-214 | |
# If that went well | |
sudo easy_install pip | |
# Install python packages qgis requires at runtime | |
sudo pip install psycopg2 | |
# sudo pip install pyparsing - Between 2.6 and 2.8 it seems this is no longer needed | |
# Put qgis in your user's applications folder | |
# This might prompt you to first run `mkdir /Users/<username>/Applications`. | |
# If you want to put QGIS in your main applications folder, remove the `--local` flag | |
brew linkapps --local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment