How to solve the Chinese garbled problem after kali2019.04 installation

1. Replace the update source

Open the terminal and enter the command below to open the update source file
vim /etc/apt/sources.list.
Insert picture description here
At the end of the file (the red box area above), add the update source below, and select one of them.

#aliyun 阿里云
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

#USTC 中科大
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.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
#deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free

#kali 官方 源
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


#Default (the red box area in the figure above), you can comment out or delete #deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
#deb-src http:// security.kali.org/kali-security kali-rolling/updates main contrib non-free

Then run the update source and update the software, there is a long wait here!

apt-get update && apt-get upgrade && apt-get clean

**

2. Default language selection

**
After entering
dpkg-reconfigure locales on the command line to enter
the graphical interface for language selection, (space is for selection, Tab is for switching, is for selection), select en_US.UTF-8 and zh_CN.UTF-8 *** (Figure 1 ), after confirming, select en_US.UTF-8 as the default** (Figure 2)**.
The picture shows the initial interface, the interface option to drop down, multiple choice, az sort order of from
1 to FIG:
Insert picture description here
enter the next hit enter
FIG 2:
Insert picture description here

3. Install Chinese fonts

apt-get install xfonts-intl-chinese

apt-get install ttf-wqy-microhei

4. Restart, complete

Guess you like

Origin blog.csdn.net/weixin_45603370/article/details/104372769