Difference between revisions of "Homebrew"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<code>/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</code> | <code>/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</code> | ||
− | ==install | + | ==install XCode Command Line Tools== |
<code>xcode-select --install</code> | <code>xcode-select --install</code> | ||
+ | |||
+ | Agree if asked to install XCode Command Line Tools. | ||
==check homebrew== | ==check homebrew== |
Revision as of 04:34, 2 November 2017
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
install graphviz (optional)
brew install graphviz
install opencv
brew tap homebrew/science
brew edit opencv
change: -DBUILD_opencv_java=OFF to -DBUILD_opencv_java=ON
brew install --build-from-source opencv