您的位置:首页 > 其它

Ubuntu安装搜狗拼音输入法的步骤

2017-06-22 16:59 567 查看

前言

搜狗输入法下载

搜狗输入法安装过程

搜狗输入法安装常见错误及其解决办法

搜狗输入法下载

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

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

安装依赖包

1.sudo gedit /etc/apt/sources.list #用文本编辑器打开源列表

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

deb http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse


3.更新软件源:sudo apt-get update

安装fcitx

搜狗输入法是基于fcitx的,因此在系统中首先需要安装fcitx,Ubuntu中默认自带fcitx,如果已经安装了就不需要手动安装,直接在系统配置-语言支持看.



如果没有安装,则按照以下步骤进行安装

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键盘输入法系统就安装好了。第5,6步需要按键“Y”确认安装。简单测试的方法就是在终端键入“fcitx”,有各种提示就对了。

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

搜狗输入法安装过程

sudo apt-get install -f


sudo dpkg -i sogoupinyin_2.0.0.0072_amd64.deb


deb文件名,要和自己下载的版本一致。

搜狗输入法的配置

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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu 搜狗输入法