LoginSignup
0
0

More than 3 years have passed since last update.

Can't set locale; make sure $LC_* and $LANG are correct!

Posted at

はじめに

こういうのとか

Can't set locale; make sure $LC_* and $LANG are correct!

こういうのが出たとき

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

対処

$ export LC_ALL=en_US.UTF-8
$ sudo locale-gen en_US.UTF-8
$ sudo update-locale LANG=en_US.UTF-8
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0