Ubuntu 18.04安装搜狗输入法笔记

举报
zhangrelay 发表于 2021/07/15 02:50:08 2021/07/15
【摘要】 因为内置输入法还能用,所以一直没有安装输入法,最近发现一些问题,还是安装一下。 链接:pinyin.sogou.com/linux/ 直接下载deb安装包即可。目前版本为sogoupinyin_2.2.0.0108_amd64.deb。 sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb 报错: $ sudo dpk...

因为内置输入法还能用,所以一直没有安装输入法,最近发现一些问题,还是安装一下。

链接:pinyin.sogou.com/linux/

直接下载deb安装包即可。目前版本为sogoupinyin_2.2.0.0108_amd64.deb

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

报错:


  
  1. $ sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
  2. [sudo] password for relaybot:
  3. Selecting previously unselected package sogoupinyin.
  4. (Reading database ... 315053 files and directories currently installed.)
  5. Preparing to unpack sogoupinyin_2.2.0.0108_amd64.deb ...
  6. Unpacking sogoupinyin (2.2.0.0108) ...
  7. dpkg: dependency problems prevent configuration of sogoupinyin:
  8. sogoupinyin depends on fcitx (>= 1:4.2.8.3-3~); however:
  9. Package fcitx is not installed.
  10. sogoupinyin depends on fcitx-frontend-gtk2; however:
  11. Package fcitx-frontend-gtk2 is not installed.
  12. sogoupinyin depends on fcitx-frontend-gtk3; however:
  13. Package fcitx-frontend-gtk3 is not installed.
  14. sogoupinyin depends on fcitx-frontend-qt4; however:
  15. Package fcitx-frontend-qt4 is not installed.
  16. sogoupinyin depends on libfcitx-qt0 | fcitx-libs-qt; however:
  17. Package libfcitx-qt0 is not installed.
  18. Package fcitx-libs-qt is not installed.
  19. sogoupinyin depends on fcitx-module-kimpanel; however:
  20. Package fcitx-module-kimpanel is not installed.
  21. sogoupinyin depends on libopencc2 | libopencc1; however:
  22. Package libopencc2 is not installed.
  23. Package libopencc1 is not installed.
  24. sogoupinyin depends on fcitx-libs (>= 4.2.7); however:
  25. Package fcitx-libs is not installed.
  26. sogoupinyin depends on libqt4-dbus (>= 4:4.8.0); however:
  27. Package libqt4-dbus is not installed.
  28. sogoupinyin depends on libqt4-declarative (>= 4:4.8.0); however:
  29. Package libqt4-declarative is not installed.
  30. sogoupinyin depends on libqt4-network (>= 4:4.8.0); however:
  31. Package libqt4-network is not installed.
  32. sogoupinyin depends on libqtcore4 (>= 4:4.8.0); however:
  33. Package libqtcore4 is not installed.
  34. sogoupinyin depends on libqtgui4 (>= 4:4.8.0); however:
  35. Package libqtgui4 is not installed.
  36. sogoupinyin depends on libqtwebkit4 (>= 2.1.0~2011week13); however:
  37. Package libqtwebkit4 is not installed.
  38. dpkg: error processing package sogoupinyin (--install):
  39. dependency problems - leaving unconfigured
  40. Processing triggers for mime-support (3.60ubuntu1) ...
  41. Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
  42. 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 for this key.
  43. Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
  44. Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
  45. Processing triggers for shared-mime-info (1.9-2) ...
  46. Processing triggers for hicolor-icon-theme (0.17-2) ...
  47. Errors were encountered while processing:
  48. sogoupinyin

修复一下:

sudo apt install -f

再次安装:

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

安装成功。

配置,这个非常重要的,将ibus改为fcitx。

需要注销或重启后进行操作:

将sogou输入法添加到input method中。

然后就可以正常使用搜狗输入法了。


 

文章来源: zhangrelay.blog.csdn.net,作者:zhangrelay,版权归原作者所有,如需转载,请联系作者。

原文链接:zhangrelay.blog.csdn.net/article/details/86608024

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。