安装完Ubuntu 16.04后,要更换为国内的软件源:
sudo gedit /etc/apt/sources.list #用文本编辑器打开源列表
在文件开头添加下面的阿里云的软件源:
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
更新软件源:sudo apt-get update
更多软件源请自行百度,阿里云的软件源是Ubuntu官方推荐的国内软件源。,清华的软件源也可以。
Ubuntu 的键盘输入法系统包含iBus、fcitx等多种,因为sogou是基于fcitx的,而系统默认的是iBus,所以安装使用不同的输入法,相关的键盘输入法系统也要设置改变。
也可以打开System Settings系统设置里面的 Software & Updates
一、安装sogou输入法步骤:
1、首先到搜狗输入法官网下载搜狗输入法,下载的是个deb文件。
搜狗输入法Linux版下载地址:http://pinyin.sogou.com/linux/?r=pinyin
2、Ubuntu 16.04安装搜狗输入法命令如下:
sudo apt-get install -f
sudo dpkg -i sogoupinyin_2.0.0.0072_amd64.deb
deb文件名,要和自己下载的版本一致。