1. Download Sogou Input method for Linux
http://pinyin.sogou.com/linux///64-bit and 32-bit Deb pack
What I download here is: Sogoupinyin_2.1.0.0086_amd64.deb
2. Installation
Kali based on Debian,deb package installation
Execute command: Dpkg-i package name. deb//below perform installation show dependencies not processed
[Email protected]:~/downloads# dpkg-i sogoupinyin_2.1.0. 0086_amd64.deb is selecting an unselected package sogoupinyin. (Reading Database ... The system is currently installed a total of327971files and directories. ) is preparing to unpack the sogoupinyin_2.1.0. 0086_amd64.deb. Unpacking Sogoupinyin (2.1.0.0086) ... dpkg: Dependency issues make Sogoupinyin configuration work impossible: Sogoupinyin relies on FCITX (>=1:4.2.8.3-3~); however: Package FCITX is not installed. Sogoupinyin relies on FCITX-frontend-Gtk2; however: The package is not installed FCITX-frontend-gtk2. Sogoupinyin relies on FCITX-frontend-Gtk3; however: The package is not installed FCITX-frontend-GTK3. Sogoupinyin relies on FCITX-frontend-Qt4; however: The package is not installed FCITX-frontend-Qt4. Sogoupinyin relies on FCITX-module-Kimpanel; however: The package is not installed FCITX-module-Kimpanel. Sogoupinyin relies on IM-config; however: Package im not installed-CONFIG. Sogoupinyin relies on LIBOPENCC2|LIBOPENCC1, however: Package LIBOPENCC2 is not installed. Package LIBOPENCC1 is not installed. Sogoupinyin relies on FCITX-libs (>=4.2.7); however: Package FCITX not installed-Libs. Sogoupinyin relies on FCITX-LIBS-QT (>=4.2.7); however: Package FCITX not installed-libs-qt. DPKG: Processing Package Sogoupinyin (--Install) Error: Dependency problem-Is still not configured to be processed for LIBGLIB2.0-0: AMD64 (2.53.4-3) of the trigger ... Overwrite file/usr/share/glib-2.0There are no keys in the scheme org.gnome.settings-daemon.plugins.xsettings specified in/schemas/50_sogoupinyin.gschema.override Gtk/Immodule; ignores overrides for this key. Processing is being processed for desktop-file-utils (0.23-2) of the trigger ... Processing is being processed for GNOME-menus (3.13.3-9) of the trigger ... Processing is being processed for MIME-support (3.60) of the trigger ... Processing is being processed for Hicolor-icon-theme (0.15-1) of the trigger ... Being processed for shared-mime-Info(1.8-1) of the trigger ... An error occurred while processing: Sogoupinyin
3. Solve the dependency relationship
After the dpkg command executes, it executes immediately: apt-get INSATLL//This will automatically resolve the dependency
[Email protected]:~/downloads# apt-getInstallReading Package List ... Completing the dependency tree that is analyzing the package is reading state information ... Complete you may need to run the "apt--fix-brokenInstall"To fix the error above. The following packages have unsatisfied dependencies: Sogoupinyin: Dependency: Fcitx (>=1:4.2.8.3-3~but it has not yet been installed dependent: FCITX-frontend-GTK2 But it has not been installed dependent: FCITX-frontend-GTK3 But it has not been installed dependent: FCITX-frontend-Qt4 But it has not been installed dependent: FCITX-module-Kimpanel But it has not been installed dependencies: Im-config But it has not been installed dependent: LIBOPENCC2 But it has not been installed or LIBOPENCC1 but cannot be installed it depends on: FC ITX-libs (>=4.2.7but it has not yet been installed dependent: FCITX-LIBS-QT (>=4.2.7) But it hasn't been installed. Recommendation: Fcitx-frontend-QT5 But it hasn't been installed yet. E: There is a dependency that is not satisfied. Please try not to specify the package name to run "Apt--fix-brokenInstall(You can also specify a workaround).
Follow the prompts to execute the command: Apt--fix-broken insatll
[Email protected]:~/downloads# apt--fix-brokenInstallReading Package List ... Completing the dependency tree that is analyzing the package is reading state information ... Completing the dependency relationship being repaired ... Completion will install the following software at the same time: 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-1Libfcitx-utils0 libgettextpo0 LIBOPENCC2 libopencc2-Data Libpresage-data libpresage1v5 LIBTINYXML2.6. 2V5 presage Recommended installation: Fcitx-m17n Fcitx-tools Kdebase-bin plasma-widgets-Kimpanel The following "new" packages will be installed: 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-1Libfcitx-utils0 libgettextpo0 LIBOPENCC2 libopencc2-Data Libpresage-data libpresage1v5 LIBTINYXML2.6the. 2v5 presage upgraded0A new package, a newly installed +A package to uninstall0Packages that have0packages have not been upgraded. Have a1A package is not fully installed or uninstalled. Need to download8,136KB of archiving. After decompression, it consumes30.2MB of extra space. Do you want to continue? [Y/N] "" "" "processing is being processed for desktop-file-utils (0.23-2) of the trigger ... Processing is being processed for GNOME-menus (3.13.3-9) of the trigger ... Processing is being processed for MIME-support (3.60) of the trigger ... Processing is being processed for Hicolor-icon-theme (0.15-1) of the trigger ... Being processed for shared-mime-Info(1.8-1) of the trigger ...
Dependencies resolved, re-dpkg installation
[Email protected]:~/downloads# dpkg-i sogoupinyin_2.1.0. 0086_amd64.deb (Reading Database ... The system is currently installed a total of329138files and directories. ) is preparing to unpack the sogoupinyin_2.1.0. 0086_amd64.deb. Sogoupinyin is being set (2.1.0.0086) Unpacking to (2.1.0.0086) on ... Setting Sogoupinyin (2.1.0.0086) ... Processing is being processed for LIBGLIB2.0-0: AMD64 (2.53.4-3) of the trigger ... Overwrite file/usr/share/glib-2.0There are no keys in the scheme org.gnome.settings-daemon.plugins.xsettings specified in/schemas/50_sogoupinyin.gschema.override Gtk/Immodule; ignores overrides for this key. Processing is being processed for desktop-file-utils (0.23-2) of the trigger ... Processing is being processed for GNOME-menus (3.13.3-9) of the trigger ... Processing is being processed for MIME-support (3.60) of the trigger ... Processing is being processed for Hicolor-icon-theme (0.15-1) of the trigger ... Being processed for shared-mime-Info(1.8-1) of the trigger ...
OK, no error.
4. Restart
Reboot restart effective
CTRL + SPACE switch in English and Chinese
Kali Linux Sogou Input Method installation