Graham Eddy

Set locale on Debian

Timezone, language, standard message formats.

2021-11-01 Raspbian buster, Ubuntu 20.04


The example selects Melbourne, Australia.


graham:~ sudo dpkg-reconfigure tzdata graham:~ sudo dpkg-reconfigure locales

Logout and login again.

graham:~ timedatectl Local time: Sat 2022-09-03 18:30:36 AEST Universal time: Sat 2022-09-03 08:30:36 UTC RTC time: Sat 2022-09-03 08:30:36 Time zone: Australia/Melbourne (AEST, +1000) System clock synchronized: yes NTP service: active RTC in local TZ: no graham:~ sudo update-locale en_AU.UTF-8 graham:~ locale LANG=en_AU.UTF-8 LANGUAGE= LC_CTYPE="en_AU.UTF-8" LC_NUMERIC="en_AU.UTF-8" LC_TIME="en_AU.UTF-8" LC_COLLATE="en_AU.UTF-8" LC_MONETARY="en_AU.UTF-8" LC_MESSAGES="en_AU.UTF-8" LC_PAPER="en_AU.UTF-8" LC_NAME="en_AU.UTF-8" LC_ADDRESS="en_AU.UTF-8" LC_TELEPHONE="en_AU.UTF-8" LC_MEASUREMENT="en_AU.UTF-8" LC_IDENTIFICATION="en_AU.UTF-8" LC_ALL=