Download the Sogou installation package http://pinyin.sogou.com/linux/, pay attention to the number of bits!
Open the terminal to install dependencies
sudo apt install libfcitx-qt0
cd /The directory path of the download package/
dpkg-deb -R sogoupinyin_2.2.0.0102_amd64.deb unpack/
Edit unpack/DEBIAN/control and put Depends: in the line
fcitx-libs-qt (>= 4.2.7)
Replace with:
libfcitx-qt0 (>= 1:4.2.9.6-1)
5. dpkg-deb -b unpack/ fixed.deb #Repacket
sudo dpkg -i fixed.deb
sudo apt install --fix-broken #Resolve dependencies
to sum up
The above is a simple tutorial for installing Sogou Pinyin on ubuntu18.04 introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave a message to me. The editor will reply to you in time!
Recommended Posts