Kali solve the garbage problem in Chinese

Kali solve the garbage problem in Chinese

1. First update the source added, faster.
After mentioning the right to enter the command vim /etc/apt/sources.list
add the following update at the end of the source file.

(Pound key) # USTC
the deb http://mirrors.ustc.edu.cn/kali Kali-Free Rolling main non-contrib
the deb the src- http://mirrors.ustc.edu.cn/kali Kali main non-Rolling contrib -free
(pound key) # aliyun
deb http://mirrors.aliyun.com/kali Kali as Free-Rolling main contrib non-
deb-src http://mirrors.aliyun.com/kali Kali main non-Rolling contrib -free
(pound key) # Neusoft University
deb http://mirrors.neusoft.edu.cn/kali Kali-Rolling / main contrib non-as Free
deb-src http://mirrors.neusoft.edu.cn/kali Rolling-Kali / contrib main non-Free
(pound key) # official sources
the deb http://http.kali.org/kaliRolling non-main-Kali Free contrib
the deb the src- http://http.kali.org/kali Kali-Free Rolling main non-contrib
After entering, press keyboard "ESC", and "shift +:" (colon), Finally, enter "wq!"
and then run the command in a terminal apt-get update && apt-get upgrade && apt-get clean
update source and update software.

2. In the input terminal

dpkg-reconfigure locales

selected en_US.UTF-8 UTF-8 and zh_CN.UTF-8 UTF-8 (the space choice, tab is switched, * is selected)
and the selected default en_US.UTF-8

3. Install Chinese fonts

apt-get install xfonts-intl-chinese

apt-get install ttf-wqy-microhei

4. Finally, you can restart.

Guess you like

Origin www.cnblogs.com/Fu-ry/p/12559991.html