1、打开终端;
2、使用vim或者gedit打开 /etc/apt 目录下的sources.list
vim /etc/apt/sources.list 或者
gedit /etc/apt/sources.list
3、添加如下一些镜像源(速度会快点而已)
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
4、保存,然后终端输入:
apt-get update
apt-get upgrade
5、安装中文输入法,终端输入一下任意一种方式即可。
#拼音五笔
apt-get install fcitx-table-wbpy ttf-wqy-microhei ttf-wqy-zenhei
#经典的ibus
apt-get install ibus ibus-pinyin
# fcit
apt-get install fcitx fcitx-pinyin fcitx-module-cloudpinyin fcitx-googlepinyin
6、最后重启后就可切换中文输入法了。(Ctrl+Space)