If HomeBrew is not installed, Please follow the instruction mentioned here
1. Install XCode, check whether command line tools are installed or not.
2. $ gcc --version
3. It will display "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4. Then you can execute the following command to install the home brew
5. It will display "You should run `brew doctor' *before* you install anything." as last sentence after installing the home brew
6. Now type "$ brew doctor" .
7. Before implementing the recommendation, make sure whether it correct or not.
8. Finally, $brew update. That's it.
Reference : http://ricardianambivalence.com/2012/10/02/install-homebrew-on-your-mac-a-tutorial/
1. Install XCode, check whether command line tools are installed or not.
2. $ gcc --version
3. It will display "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4. Then you can execute the following command to install the home brew
$
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"5. It will display "You should run `brew doctor' *before* you install anything." as last sentence after installing the home brew
6. Now type "$ brew doctor" .
7. Before implementing the recommendation, make sure whether it correct or not.
8. Finally, $brew update. That's it.
Reference : http://ricardianambivalence.com/2012/10/02/install-homebrew-on-your-mac-a-tutorial/