Skip to content

Instantly share code, notes, and snippets.

@ozen
Created May 10, 2014 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozen/8cc6ff443e0e4e41ab6e to your computer and use it in GitHub Desktop.
Save ozen/8cc6ff443e0e4e41ab6e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
locale-gen en_US en_US.UTF-8 tr_TR tr_TR.UTF-8
dpkg-reconfigure locales
@ozen
Copy link
Author

ozen commented May 10, 2014

Used to fix the following error:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment