Skip to content

Instantly share code, notes, and snippets.

@masnick
Created July 29, 2011 21:09
Show Gist options
  • Select an option

  • Save masnick/1114743 to your computer and use it in GitHub Desktop.

Select an option

Save masnick/1114743 to your computer and use it in GitHub Desktop.
ubuntu/prgmr locale error
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "en_US.UTF-8",
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
# as root:
apt-get install language-pack-en-base
/usr/sbin/locale-gen en_US.UTF-8
/usr/sbin/update-locale LANG=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment