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)