Just do IT

思うは招く

Debian で warning: Setting locale failed エラーが出るときの対処記事

Debianで出てくるこんなエラー。

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

みんな困っているようだ(私も)

私はこう解決した。

export LANG=en_US.UTF-8
export LC_ALL=$LANG