Centos7安装搜狗输入法.

摘要:
默认情况下,安装输入方法管理器的用户是ibus。搜狗使用fcitx1。因此,首先我们需要安装fcitx和必要的软件包yum yinstallfcitx*yum yinstalllibQtWebKit*2。然后我们需要将搜狗输入法下载到搜狗的官方网站,以下载deb版本的软件包:https://pinyin.sogou.com/linux/?r=pinyin3.安装dpkg包:yum yinstalldpkg4.切换到dep包

系统默认安装输入法管理器的是 ibus.

而搜狗使用 fcitx

1.以我们先要安装 fcitx和必要的软件包

 yum -y  install fcitx*
yum -y install libQtWebKit*

  

2.接着我们要下载 搜狗输入法

到搜狗官网下载deb版本软件包:https://pinyin.sogou.com/linux/?r=pinyin 

3.安装dpkg包:

 yum -y install dpkg

4.切换到dep包下载目录,解压dep包:

ar vx sogoupinyin_2.2.0.0108_amd64.deb

命令执行后提示:

   #x - debian-binary

   #x - control.tar.gz

   #x – data.tar.xz

5.用tar解压到系统中

tar -xvf data.tar.xz -C /

6.复制搜狗拼音的库文件到系统目录中

 cp /usr/lib/x8664-linux-gnu/fcitx/fcitx-sogoupinyin.so  /usr/lib64/fcitx/

8.切换默认输入法管理器

  需要安装包 im-chooser

yum install -y im-chooser
imsettings-switch   fcitx

 9.配置开启启动的输入法

alternatives --config xinputrc

  Centos7安装搜狗输入法.第1张

重新启动或注销即可使用

enjoy.

  

免责声明:文章转载自《Centos7安装搜狗输入法.》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇jboss日志的自定义MappedByteBuffer下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

linux系统redhat8.3安装R4.0.3(编译安装)

1、查看当前系统 [root@rhel8 home]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.3 (Ootpa) [root@rhel8 home]# hostnamectl Static hostname: rhel8 Icon name: compu...

003-Centos7.3下安装Jumpserver 1.0.0(支持windows组件)

Jumpserver最新版本支持windows组件,废话不多介绍了,下面直接介绍下部署过程: 0)系统环境 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 CentOS 7.3 IP: 192.168.10.210   [root@jumpserver-server ~]# cat /etc/red...

zabbix准备:php安装

一.安装php依赖库 ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz yum install python-devel -y cd /download/ wget -c ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz tar xf libxml2-2.9.3...

Ubuntu 常用工具

由于工作关系,开始慢慢接触linux了,把常用命令写博客上随时查看,随时添加。 把终端加到右键菜单:sudo apt-get install nautilus-open-terminal 安装flash插件 sudo cp libflashplayer.so /usr/lib/mozilla/plugins/sudo cp ./usr/* /usr 安装:...

linux进阶之yum管理

一、部署私有repo源 1、官网下载需要的仓库: rsync -avrt --delete rsync://mirrors.ustc.edu.cn/centos/7/cloud/x86_64/openstack-pike /export/download/cloud/ 2、安装软件包: yum install yum-utils createrepo ng...

linux系统centos7.9安装R(编译安装)

查看系统: [root@centos7 ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) [root@centos7 ~]# hostnamectl Static hostname: centos7 Icon name: computer-vm...