admin管理员组

文章数量:1532042

平台:Kubuntu 12.10 32位

桌面环境:KDE 4.10

操作过程:

1.下载搜狗输入法for linux源码包:

2.由于搜狗输入法for linux依赖fcitx 4.2.6及以上版本,而ubuntu 12.10默认的版本较低,所以我们必须先升级fcitx。

打开终端,添加fcitx的ppa:

sudo add-apt-repository ppa:fcitx-team/nightly

然后刷新软件源:

sudo apt-get update

升级fcitx:

已经安装过fcitx的执行此步:

sudo apt-get upgrade

未安装过fcitx的执行此步:

sudo apt-get install fcitx

Ubuntu默认的输入法为ibus,卸载之:

sudo apt-get remove ibus

3.安装依赖包。

搜狗输入法for linux的编译大致需要以下几个依赖包debhelper  cmake intltool pkg-config fcitx-libs-dev,安装即可:

sudo apt-get install debhelper  cmake intltool pkg-config fcitx-libs-dev

4.编译安装。

①打开终端,切换到源码包所在位置,比如在~/downloads中:

cd~/downloads

②新建sougou文件夹,解压源码包到

本文标签: 搜狗输入法源码Linux