怎样安装搜狗输入法(怎样安装搜狗输入法软件)

概述平时用惯了搜狗输入法,有试过在linux系统安装搜狗输入法吗?Ubuntu的键盘输入法系统包含iBus、fcitx等多种,因为sogou是基于fcitx的,而系统默认的是iBus,所以安装使用不同的输入法,相关的键盘输入法系统也要设置

概述

平时用惯了搜狗输入法,有试过在linux系统安装搜狗输入法吗?

Ubuntu 的键盘输入法系统包含iBus、fcitx等多种,因为sogou是基于fcitx的,而系统默认的是iBus,所以安装使用不同的输入法,相关的键盘输入法系统也要设置改变。

下面基于ubuntu14.04系统演示。


配置yum源

安装完Ubuntu 14.04后,要更换为国内的软件源:

sudo vi /etc/apt/sources.list

在文件开头添加下面的阿里云的软件源:

deb-src https://img.fajihao.com/article/2022/11/03/14651 xenial main restricted #Added by software-propertiesdeb https://img.fajihao.com/article/2022/11/03/14652 xenial main restricteddeb-src https://img.fajihao.com/article/2022/11/03/14652 xenial main restricted multiverse universe #Added by software-propertiesdeb https://img.fajihao.com/article/2022/11/03/14652 xenial-updates main restricteddeb-src https://img.fajihao.com/article/2022/11/03/14652 xenial-updates main restricted multiverse universe #Added by software-propertiesdeb https://img.fajihao.com/article/2022/11/03/14652 xenial universedeb https://img.fajihao.com/article/2022/11/03/14652 xenial-updates universedeb https://img.fajihao.com/article/2022/11/03/14652 xenial multiversedeb https://img.fajihao.com/article/2022/11/03/14652 xenial-updates multiversedeb https://img.fajihao.com/article/2022/11/03/14652 xenial-backports main restricted universe multiversedeb-src https://img.fajihao.com/article/2022/11/03/14652 xenial-backports main restricted universe multiverse #Added by software-propertiesdeb https://img.fajihao.com/article/2022/11/03/14653 xenial partnerdeb-src https://img.fajihao.com/article/2022/11/03/14653 xenial partnerdeb https://img.fajihao.com/article/2022/11/03/14652 xenial-security main restricteddeb-src https://img.fajihao.com/article/2022/11/03/14652 xenial-security main restricted multiverse universe #Added by software-propertiesdeb https://img.fajihao.com/article/2022/11/03/14652 xenial-security universedeb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stabledeb https://img.fajihao.com/article/2022/11/03/14652 xenial-security multiverse

怎样安装搜狗输入法(怎样安装搜狗输入法软件)


安装fcitx键盘输入法系统

sogou是基于fcitx的,而系统默认的键盘输入法系统是iBus。Ubuntu 16.04默认是带有fcitx的,正常安装,如果有的话,按上面步骤即可完成;但有些版本的Ubuntu,需要自己安装 fcitx,才能安装使用sogou。

查看系统是否自带 fcitx【Free Chinese Input Toy for X】

1、添加以下源

sudo add-apt-repository ppa:fcitx-team/nightly

2、更新系统

sudo apt-get update

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

3、安装fcitx

sudo apt-get install fcitx

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

4、安装fcitx的配置工具

sudo apt-get install fcitx-config-gtk

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

5、安装fcitx的table-all软件包

sudo apt-get install fcitx-table-all

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

6、安装im-switch切换工具

sudo apt-get install im-switch

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

至此,fcitx键盘输入法系统就安装好了。

简单测试的方法就是在终端键入“fcitx”,有各种提示就对了。

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

安装完fcitx后,再安装sogou即可。


安装sogou输入法

1、首先到搜狗输入法官网下载搜狗输入法,下载的是个deb文件。

搜狗输入法Linux版下载地址:http://pinyin.sogou.com/linux/?r=pinyin

wget https://img.fajihao.com/article/2022/11/03/14654.deb 16.04安装搜狗输入法命令如下:

sudo apt-get install -fsudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

3、安装完毕,设置语言选项

到系统设置->语言支持(System->Language Support),将键盘输入法系统由默认的iBus设置为fcitx。如下图:

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

4、注销,重新登陆。

将键盘输入法系统改为fcitx后,一定要注销,而且操作顺序不能改。这时还不能马上使用,还要点击右上角的输入法图标,点击设置,进入设置界面,这个时候没有看到搜狗输入法,点击左下角的加号,然后注意先要去掉”只显示当前语言的输入法”前面那个勾,然后再搜索”sogo”,这个时候就看到sogo pinyin了,接着添加就可以了,然后就可以切换输入法了。

怎样安装搜狗输入法(怎样安装搜狗输入法软件)


篇幅有限,关于ubuntu系统安装搜狗输入法的教程就介绍到这了,大家有兴趣也可以自己测试一下。

后面会分享更多linux方面内容,感兴趣的朋友可以关注下!

怎样安装搜狗输入法(怎样安装搜狗输入法软件)

本文内容由互联网用户自发贡献,该文观点仅代表作者本人。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 5733401@qq.com 举报,一经查实,本站将立刻删除。本文链接:https://fajihao.com/i/121874.html

(0)
星空的头像星空
上一篇 2022-11-03
下一篇 2022-11-03

相关推荐