Kali Linux installation Sogou input method

This article is reproduced to: https://www.cnblogs.com/captainRoB/p/7377290.html

1, Sogou input method to download for Linux

http://pinyin.sogou.com/linux/ // 64-bit and 32-bit deb packages

I was here to download: sogoupinyin_2.1.0.0086_amd64.deb

 

2, installation

Kali based Debian, deb package installation

Run: dpkg -i .deb // package name displayed below the installation untreated dependencies

Copy the code
@ oot is: ~ / Downloads # dpkg -i sogoupinyin_2. 1.0 .0086_amd64.deb
You are selected package sogoupinyin unselected.
(Reading database ... system currently has installed a total of 327 971 files and directories.) Is preparing to unpack sogoupinyin_2. 1.0 .0086_amd64.deb ... is unpacked sogoupinyin ( 2.1. 0.0086 ) ... dpkg: dependency problems prevent configuration sogoupinyin can not continue: sogoupinyin dependent on fcitx (> = 1: 4.2. 8.3 3 ~ ); however: package fcitx not installed. sogoupinyin dependent on fcitx-frontend- GTK2; however: Package fcitx-frontend- not installed gtk2. sogoupinyin dependent on fcitx-frontend- gtk3; however: Package fcitx-frontend- not installed gtk3. sogoupinyin dependent on fcitx-frontend- Qt4; however: Package fcitx-frontend- not installed qt4. sogoupinyin dependent on fcitx-module- kimpanel; however: Package fcitx-module- not installed kimpanel. sogoupinyin relies on to im- config; however: the package is not installed to im- config. sogoupinyin dependent on libopencc2 |libopencc1; however: Package libopencc2 not installed. Libopencc1 package is not installed. sogoupinyin-libs depends on fcitx (> = 4.2. . 7 ); however: Package fcitx- not installed libs. sogoupinyin dependent on Qt-libs-fcitx (> = 4.2. . 7 ); however: Package fcitx-libs- not installed qt. dpkg: Processing Package sogoupinyin - ( the install Error): dependency problems - has not yet been arranged for being processed libglib2. 0- 0: AMD64 ( 2.53. 4- . 3 ) ... trigger cover files in / usr / Share / glib- 2.0 / schemas / 50_sogoupinyin.gschema.override scheme specified org.gnome.settings-daemon.plugins.xsettings no key Gtk / immodule; ignore covering on the keys. Processing for Desktop- File-utils ( 0.23- 2 ) ... Processing triggers for Menus-GNOME ( 3.13. 3- . 9) For trigger ... Processing Support-MIME ( 3.60 ) ... Processing triggers hicolor-icon-theme (for 0.15 to 1 ) ... Processing triggers for shared-mime - info ( 1.8- 1 ) triggers ... an error occurred while processing: sogoupinyin
Copy the code

 

3, resolve dependencies

Execute the command: apt --fix-broken insatll (apt-get -f install)

Copy the code
oot@kali:~/Downloads# apt --fix-broken install
Reading package lists ... Done
Packages are analyzing the dependency tree       
Reading state information ... Done       
Repairing complete dependence ...
You will install the following software:
  Fcitx Fcitx-bin Fcitx-config-common Fcitx-config-gtk Fcitx data Fcitx-frontend-all Fcitx-frontend-gtk2 Fcitx-frontend-gtk3 Fcitx frontend- qt4
  Fcitx-frontend-qt5 Fcitx-libs Fcitx-libs-qt Fcitx-module-dbus Fcitx-module-Kimpanel Fcitx-module-lua Fcitx-module-x11 Fcitx modules Fcitx UI classic im-config libfcitx config4 libfcitx core0 libfcitx gclient0 libfcitx qt0 libfcitx qt5- 1 libfcitx utils0 libgettextpo0 libopencc2 libopencc2- data libpresage data libpresage1v5 libtinyxml2. 6 .2v5 presage建议安装: Fcitx-M17N Fcitx tools kdebase-bin plasma-widgets- Kimpanel下列【新】软件包将被安装: Fcitx Fcitx-bin Fcitx-config-common Fcitx-config-gtk Fcitx data fcitx- frontend-all Fcitx-frontend-gtk2 Fcitx-frontend-gtk3 Fcitx frontend- qt4 Fcitx-frontend-qt5 Fcitx-libs Fcitx-libs-qt Fcitx-module-dbus Fcitx-module-Kimpanel Fcitx-module-lua Fcitx-module x11 Fcitx modules Fcitx UI classic im-config libfcitx config4 libfcitx core0 libfcitx gclient0 libfcitx qt0 libfcitx qt5- 1 libfcitx utils0 libgettextpo0 libopencc2 libopencc2-libpresage-libtinyxml2 the Data libpresage1v5 the Data. 6 .2v5 Presage upgraded 0 package, newly installed 32 packages, to uninstall 0 package, there are 0 packages not upgraded. There are 1 packages are not fully installed or removed. You need to download 8, 136 kB of archives. After decompression consumes 30.2 MB of additional space. You want to continue it? [The Y / n-] '' '' '' '' '' is a process for Desktop- File-utils ( 0.23- 2 ) ... Processing triggers for Menus-GNOME ( 3.13. 3- . 9 ) of the trigger ... processing Support for-MIME ( 3.60 ) ... processing triggers hicolor-icon-theme (for 0.15 to 1 ) triggers ... processing by mime-to-Shared info ( 1.8 to 1) triggers ...
Copy the code

Dependency is resolved, re-install dpkg

Copy the code
root@kali:~/Downloads# dpkg -i sogoupinyin_2.1.0.0086_amd64.deb 
(Reading database ... system currently has installed a total of 329138 files and directories.) Is ready to unpack sogoupinyin_2. 1.0 .0086_amd64.deb ... are being sogoupinyin ( 2.1. 0.0086) to unpack ( 2.1. 0.0086 ) ... are disposed on sogoupinyin ( 2.1. 0.0086 ) ... is a process for libglib2 . 0- 0: AMD64 ( . 2.53 4- . 3 ) ... trigger cover file / usr / Share / glib- 2.0 / schemas / 50_sogoupinyin.gschema.override scheme specified org.gnome.settings-daemon.plugins .xsettings no key Gtk / immodule; ignore this key coverage. Processing for Desktop- File-utils ( 0.23- 2 ) trigger ... Processing gnome-menus (for 3.13. 3- . 9 ) for trigger ... Processing Support-MIME ( 3.60 ) ... processing triggers for hicolor-icon-theme (0.15 1 ) ... Processing triggers by mime-to-Shared info ( 1.8- 1) trigger ...
Copy the code

ok, no error

 

4. Restart

reboot reboot to take effect

Ctrl + Space to switch in English

Guess you like

Origin www.cnblogs.com/betobe/p/12240926.html