Homebrew El Capitan
Note on Homebrew and OS X El Capitan October 21, 2015 on macOS, os x, homebrew, development. Apple released yesterday, September 30th, the new version of OS X called El Capitan. I upgraded today my both machines (iMac and MacBook Pro), and there is one issue with Homebrew, when it is installed on default location on /usr/local.
Inspired by a Gist from kevinelliott - thanks!
- I'm running a Macbook Pro 2012 with El Capitan 10.11.6, and for some reason which I do not understand, when I type the command man brew in Terminal.app, I find the following: Tigerbrew is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X.
- It is possible you are getting the command wrong too, but it is possible Homebrew is not compatible with your MacOS version though I don’t think that is as likely. I have Homebrew working fine for me on my Macs with various system software releases, like Mojave, Sierra, El Capitan, Mavericks, etc.
Install from App Store
- Xcode - for command line tools required by Homebrew
Install from Third-Party Websites
Xcode Command Line Tools
Need to be installed for all the fne stuff in the latest section
Xcode > Preferences > Downloads > Command Line Tools
or
Run Xcode and accept the license! Homebrew can not install properly until this occurs.
Install Homebrew
If this is not a fresh install of Homebrew, go ahead and purge the complete installation first:
Now install Homebrew
Install common libraries via Homebrew
Install Cask application manager
Install applications via Homebrew Cask
The following software is still in testing and not part of my default setup:
Install Chrome extensions
Homebrew El Capitan Install
Some extensions are not pulled from your Google account, so re-install theam manully now:
Firefox profiles
TODO make sure the profiles are registered
After setting all the preferences, you need to reboot or at least restart Finder:
If you are curious, check this file for more possible settings.
Setup Github
Docker
Database
Ruby & Gems
Prepare a sandboxed ruby environment
within we install some gems
Vagrant and plugins
Install custom .dotfiles at the end, cause we utilize some of the previously installed packages
What is homebrew and why use it
To quote from their website:
Homebrew is the missing package manager for OS X:
- easy to install
- does not need administrator privileges
- installs packages to their own directory and then symlinks their files into /usr/local
For further information to install it and how to use it, see the Homebrew website and the Wiki.
The formulas to install programs are called recipes and they make it possible to install several version of the same program (as well as HEAD of different Version Control Systems) at the same time which can then be symlinked.This makes it perfect for the purpose of installing the master branch of GRASS GIS for testing purposes. Bignox mac.
GRASS GIS 7.8 and later
There is an osgeo4mac which contains recipes for GRASS GIS 7.x and other GIS tools - highly recommendable tap!
Preparation:
To later get the GUI working, run
Installation:
Just run
and then
Easy, isn't it?
You can also install via URL:
Testing:
Homebrew Osx El Capitan
- by running (change '7x' to the current version, e.g. 78)
you can run GRASS GIS tests but they are not implemented as they should be - work in progress.
Starting it:
GRASS GIS 7.2 LTS
OSGEO4mac has also a formalar to install the GRASS GIS 7 LTS.
Follow the procedure as described in section GRASS GIS 7.6+ but use
El Capitan Os X Download
GRASS GIS 7.0.x for El Capitan without disabling SIP
The new homebrew recipe for GRASS 7.0 does install on El Capitan with SIP enabled! This is thanks to Larry Shaffer. Seehttps://github.com/OSGeo/homebrew-osgeo4mac/issues/118#issuecomment-200278686
The recipe is part of the Homebrew-osgeo4mac tap, see
for info on how to use them.