切换语言环境 - 中英互相切换.note
- 安装:
1.
apt install fonts-wqy-zenhei //安装字体
apt install locales //安装 locales- 设置 /etc/locale.gen
1.
vim /etc/locale.gen
取消注释:
大约在第 499 行
- 设置 /etc/locale.conf(没有文件就创建)
1.
vim /etc/locale.conf
#写入:
LANG=zh_CN.UTF-8- 运行 dpkg-reconfigure locales
1.
dpkg-reconfigure locales会弹出一个界面,按下键往下滑动,滑动至最底部:


按空格选中,然后确定:

切换到中文的语言,然后按回车,重启生效
