Skip to content

Instantly share code, notes, and snippets.

@bellbind
Created August 1, 2011 03:06
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save bellbind/1117508 to your computer and use it in GitHub Desktop.
Save bellbind/1117508 to your computer and use it in GitHub Desktop.
[mac][homebrew]install homebrew to $HOME/.brew
#[homebrew setting for installing to each user directory]
#[ENV: put them into "$HOME/.bash_profile"]
HOMEBREW=$HOME/.brew
export PATH=$HOMEBREW/bin:$PATH
export LD_LIBRARY_PATH=$HOMEBREW/lib:/usr/lib
export DYLD_FALLBACK_LIBRARY_PATH=$HOMEBREW/lib
export C_INCLUDE_PATH=$HOMEBREW/include
export CPLUS_INCLUDE_PATH=$HOMEBREW/include
#[HOWTO: download homebrew to $HOME/.brew]
# mkdir $HOME/.brew
# cd $HOME/.brew
# curl -sL https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1
#[INIT: do them after downloaded and after set environment variables]
# brew install git
# brew update
# brew upgrade
@KANGIHEE
Copy link

KANGIHEE commented Oct 2, 2017

z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment