Skip to content

Instantly share code, notes, and snippets.

@ei-grad
Created September 24, 2016 14:22
Show Gist options
  • Save ei-grad/ff513e09b87c0ab038a67f2b8d1c8840 to your computer and use it in GitHub Desktop.
Save ei-grad/ff513e09b87c0ab038a67f2b8d1c8840 to your computer and use it in GitHub Desktop.
Debian locale setup
set -e
set -x
apt-get update
apt-get install locales
echo "locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8" | debconf-set-selections
echo "locales locales/default_environment_locale select ru_RU.UTF-8" | debconf-set-selections
sed -i 's/^# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
@Pavel-Matskevich
Copy link

Thank you very much!

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