fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:debian:locale

This is an old revision of the document!


Locale

check

locale
cat /etc/default/locale
cat /etc/locale.gen
cat /etc/locale.conf
echo $LANG

generate and set default locale

dpkg-reconfigure locales

generate locales

sudo nano /etc/locale.gen              # check if "en_US.UTF-8 UTF-8" is uncommmented
sudo locale-gen                        # generate locales
sudo update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
cat /etc/default/locale

locale POSIX

└─[$] locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Fix

sudo nano /etc/ssh/sshd_config
UsePAM yes
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/debian/locale.1772976322.txt.gz · Last modified: by gsys