====== Локализация окружения ======
===== Debian/Ubuntu =====
* [[https://wiki.debian.org/Locale|Debian Locale]]
* [[https://www.linux16.ru/notes/ustanovka-cp1251-locale-v-linux.html|Установка CP1251 locale в Linux]]
# apt install locales dialog
# echo 'ru_RU.UTF-8 UTF-8' >> /etc/locale.gen
# locale-gen
# LANG=ru_RU.UTF-8 date
# export LANG=ru_RU.UTF-8
# echo LANG=ru_RU.UTF-8 > /etc/default/locale
или
# dpkg-reconfigure locales
==== Debian 11 ====
client3:~# dpkg-reconfigure keyboard-configuration
===== Ubuntu/CentOS Systemd =====
* [[http://theurbanpenguin.com/wp/index.php/configuring-the-locale-in-centos-7/|Configuring the Locale in CentOS 7]]
$ localectl status
$ localectl list-locales
# localectl set-locale LANG=ru_RU.utf8
$ export LANG=ru_RU.utf8
===== Ubuntu Upstart =====
# update-locale LANG="ru_RU.UTF-8"
# cat /etc/default/locale
# export LANG="ru_RU.UTF-8"
===== FreeBSD =====
Управление учетными записями в FreeBSD ([[Управление учетными записями в FreeBSD#Русификация пользователя]])
# setenv LANG ru_RU.KOI8-R