Ubuntu 18.04安装搜狗输入法笔记
【摘要】 因为内置输入法还能用,所以一直没有安装输入法,最近发现一些问题,还是安装一下。
链接: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
报错:
-
$ 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 package sogoupinyin (--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 for this 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
修复一下:
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)