Install Sogou input method Linux version under Ubuntu20.04

Install Sogou input method Linux version under Ubuntu20.04

Refer to the official website installation guide of Sogou Input Method;

Step 1: Open Sogou and enter judge.com;

https://shurufa.sogou.com/
Insert image description here

After clicking X86_64, you will automatically jump to the installation guide of Sogou input method;

Installation Guide
Ubuntu Sogou Input Method Installation Guide
Sogou Input Method has supported Ubuntu1604, 1804, 1910, 2004, 2010< a i=3> The installation steps of each system may be slightly different 1. Add Chinese language support Open system settings - region and language - manage installed Language - under the "Language" tab - click "Add or Remove Language"



Insert image description here

The "Installed Languages" window pops up, check Chinese (Simplified), and click Apply
Insert image description here

Return to the "Language Support" window, in the keyboard input method system, select "fcitx"
Insert image description here

Note:
If there is no "fcitx" option in the keyboard input method system, it is recommended to open the terminal and install it manually
fcitx: sudo apt -get install fcitx
Wait for the installation to be successful before performing the above steps
Click "Apply to entire system", close the window and restart the computer
Insert image description here

2. Install Sogou input method through the command line
sudo dpkg -i sogoupinyin_version number_amd64.deb
Note:
If it prompts that relevant dependencies are missing during the installation process, execute the following command to solve the problem:
sudo apt -f install
3. Log off the computer and it will be normal. Use Sogou input method

If the fcitx input method framework is not installed, follow the method below.

Steps to install Sogou input method on Ubuntu20.04
1. Update source
Execute sudo apt update in the terminal
Insert image description here

2. Install the fcitx input method framework
2.1. Enter sudo apt install fcitx in the terminal
Insert image description here

2.2. Set fcitx as the system input method
Click the menu in the lower left corner to select language support, and select the language as fcitx (as shown in Figure 2 below)
Insert image description here
Insert image description here

2.3. Set fcitx to start automatically at boot
Execute sudo cp /usr/share/applications/fcitx.desktop /etc/xdg/autostart/ in the terminal
Insert image description here

2.4. Uninstall the system ibus input method framework
Execute sudo apt purge ibus in the terminal
Insert image description here

3. Install Sogou Input Method
3.1. Download the Sogou Input Method installation package from the official website and install it. The installation command is sudo dpkg -i installation package name
The file name downloaded here is: sogoupinyin_4.2.1.145_amd64.deb; then enter the location of the file first, and then enter the following command in the terminal to install;
sudo dpkg -i sogoupinyin_4. 2.1.145_amd64.deb
Insert image description here

3.2. Install input method dependencies
Execute in terminal
sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2
sudo apt install libgsettings-qt1
Insert image description here

4. Restart the computer and bring up the input method
4.1. Restart the computer
4.2. Look at the upper right corner, you can see the word "Sogou". Sogou input method can be opened in the input window.
Insert image description here

4.3. If there is no word "Sogou", select Configuration and add Sogou to the input method list.
Insert image description here
Insert image description here

At this point, Sogou input method is installed.

Guess you like

Origin blog.csdn.net/bxlover007/article/details/132537737