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