Created
October 27, 2020 21:51
-
-
Save ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8 to your computer and use it in GitHub Desktop.
Fix Locales in any distro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment | |
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen | |
echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf | |
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
Nice, a shell script in bash.