解決perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = “zh_CN:zh”,
    LC_ALL = (unset),
    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
dpkg-query: package ‘locales’ is not installed and no information is available
Use dpkg –info (= dpkg-deb –info) to examine archive files,
and dpkg –contents (= dpkg-deb –contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed





解決這個   在~/.bashrc中添加一句話

export LC_ALL=C

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章