大家好,又见面了,我是你们的朋友全栈君。
1.更新软件源
sudo vim /etc/apt/sources.list
2.选择比较合适的源(选择一个即可)
#中科大 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib #阿里云 deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib #清华大学 deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free #163 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.neusoft.edu.cn/kali kali-rolling/main non-free contrib deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib #官方源 deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib
3.保存后执行命令
apt-get update &apt-get upgrade apt-get dist-upgrade #删除以下载的包 apt-get clean #重新启动 reboot
4.安装中文输入法 apt-get install fcitx fcitx-googlepinyin(安装成功重新启动)
5.修改时区
sudo dpkg-reconfigure tzdata 选择Asia—->;shanghai
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/140237.html原文链接:https://javaforall.cn