首页 > 代码库 > Kali下安装中文输入法

Kali下安装中文输入法

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

Kali下安装中文输入法