Skip to content

How correctly instal - configure locale in ubuntu, debian

We all know linux IS SHIT. for some simple programs, if you don't have correctly configure, installed locale it will not work. What is locale, some small program that can make your system un-stable. So if locale is important for linux why, locale is not protected.

  1. locale
  2. sed -i 's/^# *(en_US.UTF-8)/\1/' /etc/locale.gen
  3. locale-gen
  4. echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
  5. echo "export LANG=en_US.UTF-8" >> ~/.bashrc
  6. echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc
  7. source ~/.bashrc
  8. locale

Ijaaaa you have configured you locale.