This setup install homebrew in user directories, which is safer to mess with. The downside is larger install times since it has to build packages from source.
1) Git-clone it into the ~/homebrew
directory:
2) Make sure to include the bin/
and sbin/
directories in $PATH
, by adding this to ~/.bash_profile
:
3) Update
Check where a library is installed:
Example, boost
library: