Created
August 1, 2011 03:06
-
-
Save bellbind/1117508 to your computer and use it in GitHub Desktop.
[mac][homebrew]install homebrew to $HOME/.brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
z