Difference between revisions of "Homebrew"

From CSE231 Wiki
Jump to navigation Jump to search
Line 22: Line 22:
  
 
<code>brew install --build-from-source opencv</code>
 
<code>brew install --build-from-source opencv</code>
 
==lines repeated for copying to clipboard==
 
 
<clippy show="true">/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</clippy>
 
<br>
 
<clippy show="true">brew doctor</clippy>
 
<br>
 
<clippy show="true">brew install graphviz</clippy>
 
<br>
 
<clippy show="true">brew tap homebrew/science</clippy>
 
<br>
 
<clippy show="true">brew install opencv3 --with-java --with-contrib</clippy>
 

Revision as of 04:30, 2 November 2017

Homebrew is a package manager that allows you to install software. To install Homebrew, follow these Terminal command line instructions:

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

Mac Instructions

xcode-select --install

brew edit opencv

change: -DBUILD_opencv_java=OFF to -DBUILD_opencv_java=ON

brew install --build-from-source opencv