1. su
input root pwd
2. apt-cache search scim
apt-get install scim
apt-cache search scim-pinyin
apt-get install scim-pinyin
3. reboot
4. check setting
1. su
input root pwd
2. add-apt-repository ppa:fcitx-team/nightly
apt-get update
apt-get upgrade
apt-get install fcitx
install sogou input method
http://packages.linuxdeepin.com/deepin/pool/non-free/f/fcitx-sogoupinyin-release/