kali linux安装搜狗输入法比较麻烦,由于有不少依赖项,不过安装好就很好用,以为麻烦的通常安装ibus,经典,也常更新。html
下面就说说怎么安装搜狗输入法:linux
先去http://http.kali.org/pool/main/f/fcitx/这个网址下载一些相关的软件包,须要的软件包以下:(最新的4.9的有两个包没有,因此使用4.8的版本)ubuntu
分享一个下载地址:框架
https://yunpan.cn/cB7fXhmJcvZmI 访问密码 ec66frontend
fcitx-libs_4.2.8.5-2_amd64.debui
fcitx-libs-qt_4.2.8.5-2_amd64.debfcitx-bin_4.2.8.5-2_amd64.deblua
libgettextpo0_0.18.1.1-5ubuntu3_amd64.deb(网上下载)htm
fcitx-data_4.2.8.5-2_all.debblog
fcitx-modules_4.2.8.5-2_amd64.debci
libicu52_52.1-8_amd64.deb(网上下载)
fcitx-module-dbus_4.2.8.5-2_amd64.deb
fcitx-module-kimpanel_4.2.8.5-2_amd64.deb
fcitx-module-lua_4.2.8.5-2_amd64.deb
fcitx-module-x11_4.2.8.5-2_amd64.deb
fcitx_4.2.8.5-2_all.deb
fcitx-tools_4.2.8.5-2_amd64.deb
fcitx-ui-classic_4.2.8.5-2_amd64.deb
fcitx-config-gtk2(apt-get install来安装)
sogoupinyin_2.0.0.0078_amd64.deb
fcitx-frontend-gtk2_4.2.8.5-2_amd64.deblibopencc1(网上下载)
imconfig框架(软件包中下载)
安装过程:
1.先下载相关软件包,而后再终端中进入软件包所在的路径
2.dpkg -i fcitx-libs_4.2.8.5-2_amd64.deb
3.dpkg -i fcitx-libs-qt_4.2.8.5-2_amd64.deb
4.dpkg -i fcitx-bin_4.2.8.5-2_amd64.deb
不过出现了依赖项问题,
而在kali软件包里面找不到那个依赖项,因此须要在网上去下载而后安装http://packages.ubuntu.com/precise/amd64/libgettextpo0/download
dpkg -i libgettextpo0_0.18.1.1-5ubuntu3_amd64.deb
而后重复上个命令
5.dpkg -i fcitx-data_4.2.8.5-2_all.deb
6.dpkg -i fcitx-modules_4.2.8.5-2_amd64.deb
出现依赖项问题,下载相关软件并安装http://www.ubuntuupdates.org/package/core/vivid/main/base/libicu52
dpkg -i libicu52_52.1-8_amd64.deb
而后重复上个命令
7.dpkg -i fcitx-module-dbus_4.2.8.5-2_amd64.deb
8.dpkg -i fcitx-module-kimpanel_4.2.8.5-2_amd64.deb
9.dpkg -i fcitx-module-lua_4.2.8.5-2_amd64.deb
10.dpkg -i fcitx-module-x11_4.2.8.5-2_amd64.deb
11.dpkg -i fcitx_4.2.8.5-2_all.deb
12.dpkg -i fcitx-tools_4.2.8.5-2_amd64.deb
13.dpkg -i fcitx-ui-classic_4.2.8.5-2_amd64.deb
14.apt-get install fcitx-config-gtk2
有点问题,因此换源为163的http://www.cnblogs.com/zhangans/p/5297786.html
leafpad /etc/apt/sources.list
# 163 源
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
15.apt-get remove ibus
这一步能够不操做
16.dpkg -i sogoupinyin_2.0.0.0078_amd64.deb
出现依赖问题
dpkg -i fcitx-frontend-gtk2_4.2.8.5-2_amd64.deb
dpkg -i fcitx-frontend-gtk3_4.2.8.5-2_amd64.deb
dpkg -i fcitx-frontend-qt4_4.2.8.5-2_amd64.deb
而后imconfig网上找不到,能够在软件包里面安装
libopencc2在网上找不到,可是安装了libopen1就能够了,二选一
而后其实若是刚才安装的时候出现了依赖性问题那么能够先卸载一下搜狗输入法,固然能够不卸载也不要紧,
apt-get remove sogoupinyin_2.0.0.0078_amd64.deb
而后从新安装
dpkg -i sogoupinyin_2.0.0.0078_amd64.deb
重启
reboot
而后会发现最早叫有一个小企鹅,
这个就是搜狗输入法,而后打开设置,修改一些设置
参考:http://jingyan.baidu.com/article/414eccf64a01b96b431f0af6.html