perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "",
LANG = "AMERICAN_AMERICA.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
解决办法:
设置环境变量vi ~/.bashrc,在最后加上:
LANGUAGE = "en_US.UTF-8",
export LANG=en_US:zh_CN.UTF-8
export LC_ALL=C
然后执行 . ~/.bashrc 即时生效