osx安装GUN的tools 替换系统自带的工具.

osx安装GUN的tools 替换系统自带的工具.


安装GUN的 tools 替换系统自带的工具.

GMac:~ AAAA$ brew install coreutils

==> Downloading https://homebrew.bintray.com/bottles/coreutils-8.23_1.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring coreutils-8.23_1.yosemite.bottle.1.tar.gz
==> Caveats
All commands have been installed with the prefix 'g'.

If you really need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:

    PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"

Additionally, you can access their man pages with normal names if you add
the "gnuman" directory to your MANPATH from your bashrc as well:

    MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"

==> Summary
  /usr/local/Cellar/coreutils/8.23_1: 214 files,  10M
GMac:~ AAAA$

你可能感兴趣的:(osx安装GUN的tools 替换系统自带的工具.)