一、下载搜狗输入法的deb包:
http://pinyin.sogou.com/linux/
二、打开终端输入命令:
$ sudo dpkg -i sogoupinyin_2.0.0.0078_i386.deb
如果提示缺少依赖包:
dpkg: dependency problems prevent configuration of sogoupinyin:
sogoupinyin depends on libopencc2 | libopencc1; however:
Package libopencc2 is not installed.
Package libopencc1 is not installed.
sogoupinyin depends on fcitx-libs (>= 4.2.7); however:
Package fcitx-libs is not installed.
sogoupinyin depends on fcitx-libs-qt (>= 4.2.7); however:
Package fcitx-libs-qt is not installed.
输入命令:
~$ sudo apt-get install libopencc1 fcitx-libs fcitx-libs-qt
安装缺少的依赖包,安装完毕后重启系统完成安装。
提示:上述几个包不要分开安装,否则还会提示缺少包依赖。