Homebrew
Jump to navigation
Jump to search
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)"
install XCode Command Line Tools
xcode-select --install
Agree if asked to install XCode Command Line Tools.
check homebrew
brew doctor
brew graphviz (optional)
brew install graphviz
brew ant
brew install ant
tap science
brew tap homebrew/science
install opencv
if you are not comfortable with vim
export HOMEBREW_EDITOR=nano
brew edit opencv
within editor change: -DBUILD_opencv_java=OFF
to -DBUILD_opencv_java=ON
if you have tried and failed to brew opencv before brew remove opencv
brew install --build-from-source opencv