ubuntu无法使用zn_CN.UTF-8的问题

perl: warning: Please check that your locale settings:
    LANGUAGE = “zh_CN.UTF-8”,
    LC_ALL = “zh_CN.UTF-8”,
    LANG = “zh_CN.UTF-8”
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
安装对应语言包即可
sudo apt-get -y install language-pack-zh-hans