前言:
一直使用ubuntu1404做科研,最近开始想下点博客把一些经验分享给大家,所以第一篇就不得不写ubuntu英文系统下怎样安装中文输入法了。
Step1:如果系统中未安装依赖fcitx,libssh2-1,或者依赖fcitx,libssh2-1的版本低的话,则需提前安装或者升级,否则安装输入法时会出错,安装命令
sudo apt-get install fcitx libssh2-1
Step2:下载安装包,
下载32位:
wget “http://pinyin.sogou.com/linux/download.php?f=linux&bit=32” -O “sougou_32.deb”
下载64位:
wget “http://pinyin.sogou.com/linux/download.php?f=linux&bit=64” -O “sougou_64.deb”
Step3:安装:
安装下载好的安装包命令
sudo dpkg -i sougou_64.deb
Step4:在系统中添加中文字体
System Settings–Language Support–install/Remove Language选中Chinese
Step5:添加中文输入法支持:
System Settings–Text Entry–左下角+号–Chinese–Add
log out!
Step6:添加中文输入法:
系统搜索ficix configuration-install input method–左下角+号–取消选择Only Show Current Language–搜索Sogou–OK
如果搜不到ficix:
sudo apt-get install fcitx fcitx-ui-* fcitx-sunpinyin fcitx-googlepinyin fcitx-pinyin fcitx-table-wubi fcitx-table-wbpy fcitx-table-cangjie fcitx-table* fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-config-gtk*
然后log out
Step7:System Settings–Language Support–Keyboard input method system选择fcitx
Step8:log out
有问题参考http://jingyan.baidu.com/article/08b6a591cb06f114a8092209.html