The Mac OS X 10.7.5 (Lion) may not have the latest version of the GNU tools like bash, sed, etc. However, they can be updated by downloading the source and compiling them on Mac.
The first step is to download the command_line_tools_for_xcode_4.5_os_x_lion.dmg and install it on your Mac OS X. Login here: Developer's Login. After that, you can update the following:
1. The bash from 3.2 to 4.2.
1.1. Download source here: bash-4.2.tar
1.2. Untar and open a terminal
1.3. Compile and install using: ./configure; make; make install
2. The sed from 3.2 to 4.2.
2.1. Download source here: sed-4.2.2.tar
2.2. Untar and open a terminal
2.3. Compile and install using: ./configure; make; make install
No comments:
Post a Comment