The environment

  • Linux/Ubuntu20.04 LTS
  • FCITX Chinese language support dependency
  • Sogoupinyin_2. 4.0.3469 _amd64. Deb

download

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

plan

  1. If there is no “FCITX” option in the keyboard input system, it is recommended to open the terminal and manually install FCITX:
sudo apt-get install fcitx
  1. Install the downloaded package directly and install the sogou input method from the command line
Sudo DPKG -i sogoupinyin_2. 4.0.3469 _amd64. Deb
lauiji@lauiji-IdeaPad-15sIML-2020:~/Downloads$sudo dpkg-i sogoupinyin_2.4.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)...

Note: If any dependencies are missing during the installation process, execute the following command to resolve the problem:

sudo apt -f install
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 Do you want to continue? [Y/n] Y

After the dependency is introduced, re-execute the installation command

  1. Add Chinese language support
  • Open System Settings — Regions and Languages — Manage Installs of Languages — Under the Languages TAB — click Add or Remove Languages.

  • The “installed language” window pops up, check Chinese (Simplified Chinese), and click Apply

  • Back in the “Language Support” window, in the keyboard input system, select “FCITX”.

  • Click “Apply to Whole System” to close the window and restart the computer

  • Logging off the computer can normally use sogou input method

  • At this point, you can see the icon on the upper right side of the computer

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!