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

前言

  • 搜狗输入法下载
  • 搜狗输入法安装过程
  • 搜狗输入法安装常见错误及其解决办法

搜狗输入法下载

首先到搜狗输入法官网下载搜狗输入法,下载的是个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。如下图:
这里写图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值