This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
локализация_окружения [2017/06/19 18:43] val |
локализация_окружения [2020/08/20 09:17] val [Debian] |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[https://wiki.debian.org/Locale|Debian Locale]] | * [[https://wiki.debian.org/Locale|Debian Locale]] | ||
+ | * [[https://www.linux16.ru/notes/ustanovka-cp1251-locale-v-linux.html|Установка CP1251 locale в Linux]] | ||
<code> | <code> | ||
- | # dpkg-reconfigure locales | + | # apt install locales dialog |
</code> | </code> | ||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | или | ||
+ | <code> | ||
+ | # dpkg-reconfigure locales | ||
+ | </code> | ||
===== Ubuntu ===== | ===== Ubuntu ===== | ||