10_RHEL安装搜狗输入法
首先需要安装相关源
1.加入EPEL源
EPEL7几乎是必备的源:
$ sudo yum install epel-release
2.添加mosquito-myrepo源
mosquito-myrepo是一个私人制作的第三方源,其中包含了fcitx输入法。
- 项目地址: https://github.com/1dot75cm/myrepo
- 支持的发行版: Fedora 19/20/21/rawhide 以及RHEL/CentOS 7
$ sudo wget https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo
参考网址:http://seisman.info/fcitx-for-centos-7.html
3. 先卸载ibus
yum list installed | grep ibus
yum remove ibus
4. 安装fcitx
yum install fcitx fcitx-pinyin fcitx-configtool
5. 选择fcitx输入法
im-chooser
在弹出的选择框中选择fcitix,并注销
6.下载搜狗输入法
http://pinyin.sogou.com/linux/?r=pinyin
7.解压deb
这里,我直接在图形界面下双击,把data.tar.xz进行extract
8. 安装搜狗输入法
tar -Jxvf data.tar.xz -C /
9.复制搜狗拼音的库
cp /usr/lib/x86_64-linux-gnu/fcitx/fcitx-sogoupinyin.so /usr/lib64/fcitx/
最后,退出重启即可.
参考网址:http://www.cnblogs.com/mawanglin2008/p/4320669.html
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步