Ideal way to install via Homebrew.
Potentially useful elsewhere.
This is necessary for inclusion in https://github.com/Homebrew/homebrew-science
See: https://github.com/Homebrew/homebrew-science/pull/697