Skip to content

Instantly share code, notes, and snippets.

@by-nari
Created January 26, 2021 16:41
Show Gist options
  • Save by-nari/7e539eeddfc4e2b4439f855e402cbf59 to your computer and use it in GitHub Desktop.
Save by-nari/7e539eeddfc4e2b4439f855e402cbf59 to your computer and use it in GitHub Desktop.
perl: warning: Setting locale failed
# Install locales-all package
sudo apt-get install -y locales-all
# Set environment variables
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Generate en_US.UTF-8
sudo locale-gen en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment