Difference between revisions of "Homebrew"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
<code>brew tap homebrew/science</code> | <code>brew tap homebrew/science</code> | ||
− | + | [https://github.com/opencv-java/opencv-java-tutorials/blob/master/docs/source/01-installing-opencv-for-java.rst Mac Instructions] | |
+ | <code>xcode-select --install</code> | ||
+ | |||
+ | <code>brew edit opencv</code> | ||
+ | |||
+ | change: -DBUILD_opencv_java=OFF to -DBUILD_opencv_java=ON | ||
+ | |||
+ | <code>brew install --build-from-source opencv</code> | ||
==lines repeated for copying to clipboard== | ==lines repeated for copying to clipboard== |
Revision as of 04:29, 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)"
check homebrew
brew doctor
install graphviz (optional)
brew install graphviz
install opencv
brew tap homebrew/science
xcode-select --install
brew edit opencv
change: -DBUILD_opencv_java=OFF to -DBUILD_opencv_java=ON
brew install --build-from-source opencv
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