CentOS7安装fcitx中文输入法

安装步骤如下:

1、加入EPEL源

EPEL7几乎是CentOS必备的源: sudo yum install epel-release

2、添加mosquito-myrepo源

mosquito-myrepo是一个私人制作的第三方源,其中包含了fcitx输入法,支持的发行版:Fedora 19/20/21/rawhide 以及RHEL/CentOS 7。

sudo yum-config-manager –add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo

3、安装输入法

可以选择下面的各种输入法中的某一个或多个:

yum install fcitx-googlepinyin fcitx-cloudpinyin # 谷歌拼音输入法
yum install fcitx-rime fcitx-cloudpinyin # 中州韵输入法
yum install fcitx-libpinyin fcitx-cloudpinyin # libpinyin输入法
yum install fcitx-sunpinyin sunpinyin-data fcitx-cloudpinyin # sunpinyin输入法

4、清理工作

鉴于多个repo的版本冲突会造成一些麻烦,最好的办法还是在安装完需要的软件之后就禁用该repo,需要的时候再启用。

编辑/etc/yum.repos.d/mosquito-myrepo-epel-7.repo,将其中的enable=1改成enable=0即可。

vi /etc/yum.repos.d/mosquito-myrepo-epel-7.repoc

原文:http://m.2cto.com/os/201506/409773.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值