Skip to content

Instantly share code, notes, and snippets.

@mhkeller
Last active September 19, 2016 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhkeller/6488984dd0e574208019 to your computer and use it in GitHub Desktop.
Save mhkeller/6488984dd0e574208019 to your computer and use it in GitHub Desktop.
QGIS installation
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