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,如果已经安装了就不需要手动安装,直接在系统配置-语言支持看.

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

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。如下图:

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...