在Centos 7上安装搜狗输入法
Centos 7 自带的中文输入法比较难用,就想着在Centos上安装搜狗输入法,结果发现,
搜狗输入法只支持Ubuntu。通过查阅相关资料,加上自己的摸索,最终在系统上安装上了
搜狗输入法,本博客就记录一下在Centos 7上安装搜狗输入法的过程(暂时只测试了Centos7,
其他系统没有测试)。
另外,本博客主要参考了sogou输入法论坛中jeyCheng的博客
,在此表示感谢。
0. 配置清华开源镜像
该步骤并不是必须的。
如果是教育网用户,推荐使用清华开源镜像,因为支持IPV6,下载的速度比较快。(下面的
步骤适用于Centos 7, 如果是其他的系统,请参考此链接)
# 备份原先的CentOS-Base.repo
$sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
# 新建一个CentOS-Base.repo
$sudovim /etc/yum.repos.d/CentOS-Base.repo
然后将下面的内容复制到CentOS-Base.repo文件中,然后保存退出
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# g