本文基于Raspbian系统,Debian系操作系统通用,其他系统请自行测试;
以前也写过一篇Debian的此类文章《Debian更改系统语言为英文的方法》
一、更改系统语言为中文
1.安装中文字体
sudo apt-get install ttf-wqy-zenhei
2.修改系统语言
sudo dpkg-reconfigure locales
会在shell里弹出一个界面,如图
通过键盘上下键移动到 zh_CN.UTF-8 UTF-8 上按空格键选定(选定后会在前方有一个*),然后按回车键;
接着又会弹出一个界面,如图
键盘上下键选中 zh_CN.UTF-8 后按回车键等待更改;
3.重启
二、安装中文输入法
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin