Ubuntu16.04 安装搜狗输入法

引用博客链接:

  1. Ubuntu 16.04或14.04里下安装搜狗输入法
  2. Ubuntu 16.04安装sogou 拼音输入法

 

 

大体步骤:

1、在安装软件前,先将源更换为国内的软件源

这样之后下载软件和更新安装包等速度会快很多,百度随便搜一个添加进去就可以了,我换的是阿里云的软件源

sudo cp /etc/apt/sources.list etc/apt/sources.list.backup  #备份原有源列表

sudo gedit /etc/apt/sources.list   #打开源列表

删除原有内容,将以下源写进列表中

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

 

2、添加fcitx键盘输入系统(系统默认的是iBus,而sogou是基于fcitx的)

跟着博客(1)中的做法添加即可,如果遇到依赖缺失的错误的话,可以打以下命令行自动安装

sudo apt-get install -f

然后再update一下就可以了

 

3、安装输入法

两个链接中的博客都写了详细做法,任选一个按步骤做即可

你可能感兴趣的:(Ubuntu16.04 安装搜狗输入法)