kali-2019.4中文乱码问题的解决

1.安装完kali-2019.4版出现乱码问题

2.更新源,用vi编辑器,在/etc/apt/resources.list中添加清华源

#清华大学 [更新源]
deb https://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

3.添加以后使用以下命令

apt-get  clean &&apt-get  update -y

4.安装字体

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

5、更改默认的编码,命令窗口输入dpkg-reconfigure locales进入图形界面,选中en_US.UTF-8 UTF-8和zh_CN.UTF-8 UTF-8并将zh_CN.UTF-8 UTF-8选为默认

6.重启reboot恢复

猜你喜欢

转载自www.cnblogs.com/akihi-lu1l/p/12237304.html