Ubuntu 18.04 install Sogou input method notes

Because the built-in input method can still be used, the input method has not been installed. Recently, some problems have been found, so I should install it.

Link: pinyin.sogou.com/linux/

Simply download the deb installation package. The current version is sogoupinyin_2.2.0.0108_amd64.deb.

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

Error:

$ sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb 
[ sudo] password for relaybot: 
Selecting previously unselected package sogoupinyin.(Reading database ...315053 files and directories currently installed.)
Preparing to unpack sogoupinyin_2.2.0.0108_amd64.deb ...
Unpacking sogoupinyin(2.2.0.0108)...
dpkg: dependency problems prevent configuration of sogoupinyin:
 sogoupinyin depends on fcitx(>=1:4.2.8.3-3~); however:
 Package fcitx is not installed.
 sogoupinyin depends on fcitx-frontend-gtk2; however:
 Package fcitx-frontend-gtk2 is not installed.
 sogoupinyin depends on fcitx-frontend-gtk3; however:
 Package fcitx-frontend-gtk3 is not installed.
 sogoupinyin depends on fcitx-frontend-qt4; however:
 Package fcitx-frontend-qt4 is not installed.
 sogoupinyin depends on libfcitx-qt0 | fcitx-libs-qt; however:
 Package libfcitx-qt0 is not installed.
 Package fcitx-libs-qt is not installed.
 sogoupinyin depends on fcitx-module-kimpanel; however:
 Package fcitx-module-kimpanel is not installed.
 sogoupinyin depends on libopencc2 | libopencc1; however:
 Package libopencc2 is not installed.
 Package libopencc1 is not installed.
 sogoupinyin depends on fcitx-libs(>=4.2.7); however:
 Package fcitx-libs is not installed.
 sogoupinyin depends on libqt4-dbus(>=4:4.8.0); however:
 Package libqt4-dbus is not installed.
 sogoupinyin depends on libqt4-declarative(>=4:4.8.0); however:
 Package libqt4-declarative is not installed.
 sogoupinyin depends on libqt4-network(>=4:4.8.0); however:
 Package libqt4-network is not installed.
 sogoupinyin depends on libqtcore4(>=4:4.8.0); however:
 Package libqtcore4 is not installed.
 sogoupinyin depends on libqtgui4(>=4:4.8.0); however:
 Package libqtgui4 is not installed.
 sogoupinyin depends on libqtwebkit4(>=2.1.0~2011week13); however:
 Package libqtwebkit4 is not installed.

dpkg: error processing packagesogoupinyin(--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support(3.60ubuntu1)...
Processing triggers for libglib2.0-0:amd64(2.56.3-0ubuntu0.18.04.1)...
No such key 'Gtk/IMModule'in schema 'org.gnome.settings-daemon.plugins.xsettings'as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override forthis key.
Processing triggers for desktop-file-utils(0.23-1ubuntu3.18.04.2)...
Processing triggers for gnome-menus(3.13.3-11ubuntu1.1)...
Processing triggers for shared-mime-info(1.9-2)...
Processing triggers for hicolor-icon-theme(0.17-2)...
Errors were encountered while processing:
 sogoupinyin

Fix it:

sudo apt install -f

Install again:

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

Successful installation.

Configuration, this is very important, change ibus to fcitx.

Need to log off or restart after operation:

Add the sogou input method to the input method.

Then you can use Sogou input method normally.


Recommended Posts

Ubuntu 18.04 install Sogou input method notes
Install Sogou input method on Ubuntu 16
Install Sogou input method on Ubuntu Kylin 14.04
Detailed steps to install Sogou input method on Ubuntu 20.04
ubuntu16.04 Sogou input method/Google Pinyin input method
How to install Chinese input method on ubuntu
ubuntu20.04 Chinese input method installation steps
Ubuntu 20.04 Shuangpin input method installation steps
Ubuntu install PHP and PHP Nginx configuration method
Ubuntu use notes
ubuntu18.04 install python2
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
Ubuntu20.04 configuration notes
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
ubuntu 18.04 install teamviewer
ubuntu install sendmail
Install Leanote on Ubuntu18 to build cloud notes
Install apache+PHP under Ubuntu
install vscode on ubuntu18
Install node.js under Ubuntu
Install mysql-pytho in Ubuntu
ubuntu install zsh terminal
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install python3.6 under Ubuntu 16.04
Install docker on Ubuntu
Ubuntu18.04 install opencv 3.2.0 solution
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install nvidia graphics driver under Ubuntu (easy installation method)
Ubuntu16.04 common command notes
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Install Docker on ubuntu18.04
Install nodejs10 on Ubuntu16
Ubuntu uses PlayOnLinux notes
ubuntu install harbor warehouse
Install mysql on Ubuntu 14.04
A simple tutorial to install Sogou Pinyin on ubuntu18.04
Ubuntu16.04 install Mongodb tutorial
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
Ubuntu18.04 install Asterisk16.10 + FreePBX15.0
Ubuntu19 install MySQL pit
ubuntu16.04 install node.js, npm
Install rJava on Ubuntu18
Ubuntu Linux study notes
Install JDK10+ on Ubuntu