Debian Tutorialsdebian 12 切换中文设置On this pagedebian 12 切换中文设置 1. 安装区域设置 (locales) Ubuntu 系统通常预装了 locales,但在 Kali Linux 和 Debian 系统中可能需要手动安装。执行以下命令:a.更新索引sudo apt updateb. 安装区域设置包sudo apt install locales-all2. 配置区域设置sudo dpkg-reconfigure locales选择以下选项并用空格键选中: zh_CN GB2312 zh_CN.GB18030 GB18030 zh_CN.GBK GBK zh_CN.UTF-8 locales-all 选择 zh_CN GB2312, zh_CN.GB2312, zh_CN.GBK GBK, zh_CN.UTF-8 选项并用空格键选中,再次选择 zh_CN.UTF-8,然后回车完成设置。locales