Homebrew
Homebrew is a package manager that allows you to install software. To install Homebrew, follow these Terminal command line instructions:
Contents
install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
check homebrew
brew doctor
install graphviz (optional)
brew install graphviz
install opencv
brew tap homebrew/science
brew install opencv3 --with-java --with-contrib
lines repeated for copying to clipboard
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install graphviz
brew tap homebrew/science
brew install opencv3 --with-java --with-contrib