[From] http://blog.csdn.net/qq_21397217/article/details/52447263
1. Install the FCITX required components
$ sudo apt install fcitx fcitx-tools fcitx-config* fcitx-frontend* fcitx-module* fcitx-ui-* presage
2. Remove redundant components (for non-KDE desktops only)
Because the above installation commands are installed in order to facilitate the use of wildcards, it is possible to install one more fcitx-module-kimpanel , this component may result in non-KDE desktop environment FCITX input Chinese when the candidate box is not displayed, if the KDE desktop does not need to remove.
$ sudo apt remove fcitx-module-kimpanel
3. Install one or more input methods as needed
sudo apt install fcitx-pinyin # 拼音$ sudo apt install fcitx-sunpinyin # sun拼音$ sudo apt install fcitx-googlepinyin # google拼音$ sudo apt install fcitx-table-wubi-large # 五笔
[to] Ubuntu installation FCITX and FCITX input Chinese do not display the candidate Word box solution