1.修改sources.list文件(etc/apt目录下)在下方加几个软件源
官方源
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
#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
2.apt-get update
3.apt-get install -f
4.apt-get install fcitx-googlepinyin
5.安装fcitx配置的GUI: apt-get install fcitx-config-gtk2
6.重启虚拟机