kali 2019-4中文乱码解决方法

1.更换源

  首先在终端输入 

vim /etc/apt/sources.list

 

 

#中科大
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

编辑源之后,apt-get update && apt-get upgrade && apt-get clean ,更新好源和更新软件

 

 

 2. 在命令行输入”dpkg-reconfigure locales”。进入图形化界面之后,(空格是选择,Tab是切换,*是选中,PgDn是向下翻一页),选中zh_CN.UTF-8,确定后,将zh_CN.UTF-8选为默认。 

 

 

 

 

 

3.安装中文字体

apt-get install xfonts-intl-chinese
apt-get install ttf-wqy-microhei

这时候就完成了

在命令行输入reboot重启就好了

也可以添加别的源:

#中科大
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

#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free

#东软大学
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

在终端中使用kali-undercover可以在两个主题之间切换。

 

参考:
https://www.kali.org/
https://www.cnblogs.com/sym945/p/11943842.html
https://blog.csdn.net/dust_hk/article/details/103299136

posted @ 2019-12-07 22:32  Hannibal_2018  阅读(2836)  评论(0编辑  收藏  举报