The environment

  • Linux/Ubuntu20.04 LTS
  • Sogoupinyin_2. 3.1.0112 _amd64. Deb
  • Sogoupinyin_2. 4.0.3469 _amd64. Deb
  • fcitx-frontend-qt4

download

  • https://pinyin.sogou.com/linux/

abnormal

The fcitx-frontend-qt4 package was not installed when installing sogoupinyin_2.3.1.0112_amd64.deb

Selecting an unselected package, sogoupinyin. Reading database... The system currently has 186515 files and directories installed. Ready to unzip Sogoupinyin_2.3.1.0112_amd64.deb... Unzip sogoupinyin (2.3.1.0112)... DPKG: Dependency issues prevent the configuration of soGouPinYIN from working: soGouPinYIN relies on fcitx-frontend-qt4; However: The package fcitx-frontend-qt4 is not installed. Sogoupinyin depends on libqtwebkit4; However: the package libqtwebkit4 is not installed. Sogoupinyin relies on libopencc2 | libopencc1; However: the package libopencc2 is not installed. The package libopencc1 is not installed. Sogoupinyin relies on fcitx - libs | libfcitx - qt0; However: The package fcitx-libs is not installed. The package libfcitx-qt0 is not installed.

Analysis of the

  • FCITX-frontend – QT4 has been removed from the official source

plan

  • Direct download the latest installation package, sogoupinyin_2.4.0.3469_amd64.deb, through the command line to install sogou input method
Sudo DPKG -i sogoupinyin_2. 4.0.3469 _amd64. Deb
lauiji@lauiji-IdeaPad-15sIML-2020:/ TMP /mozilla_lauiji0$sudo dpkg-i sogoupinyin_2.4.0.3469_amd64.deb DPKG: Dependency problem that sogoupinyin configuration can't continue to: sogoupinyin relies on fcitx - libs | libfcitx - qt0; However: The package fcitx-libs is not installed. The package libfcitx-qt0 is not installed. Sogoupinyin depends on libqt5qml5; However: the package libqt5qml5 is not installed. Sogoupinyin relies on libqt5quick5; However: the package libqt5quick5 is not installed. Sogoupinyin relies on libqt5quickwidgets5; However: the package libqt5quickwidgets5 is not installed. Sogoupinyin relies on qml-module-qtquick2; However: The package qml-module-qtquick2 is not installed. Error occurred while processing: sogoupinyin

$sudo apt-get install -f: $sudo apt-get install -f: $sudo apt-get install -f: $sudo apt-get install -f

lauiji@lauiji-IdeaPad-15sIML-2020:/ TMP /mozilla_lauiji0$sudo apt-get install -f Fcitx-libs libqt5qml5 libqt5quick5 libqt5quickgets5 qml-module-qtquick2 recommended installation: qt5-qmltooling-plugins The following [New] package will be installed: Fcitx-libs libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 unzips to consume 11.5 MB of extra space. Do you want to continue? [Y/n] Y

Just reinstall it

lauiji@lauiji-IdeaPad-15sIML-2020:/ TMP /mozilla_lauiji0$sudo dpkg-i sogoupinyin_2.4.0.3469_amd64.deb (reading database... The system currently has 187,398 files and directories installed. Ready to unzip SOGOUPINYIN 2.4.0.3469 _AMD64.DEB... Unzip sogoupinyin (2.4.0.3469) and overwrite (2.4.0.3469)... Setting sogoupinyin (2.4.0.3469)... Menus, Menus, Menus, Menus, Menus, Menus, Menus, Menus, Menus... Processing the trigger for Desktop File-Utils (0.24-1Ubuntu 3)... Processing a trigger for MIME-support (3.64ubuntu1)... Processing the trigger for hicolor-icon-theme (0.17-2)... lauiji@lauiji-IdeaPad-15sIML-2020:/tmp/mozilla_lauiji0$

reference

  • The official documentation https://pinyin.sogou.com/linu…

instructions

  • In the rainy season, eat the rainbow
  • By the individual finishing release, the compilation process is inevitable omissions or mistakes, kindly point out, so as not to mislead everyone!