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