输入如下命令,
sudo apt install language-pack-zh-han* -y
sudo locale-gen zh_CN.GB18030 && sudo locale-gen zh_CN.GB2312 && sudo locale-gen zh_CN.UTF8
sudo apt install fontconfig -y
sudo apt install ttf-mscorefonts-installer -y
sudo apt install -y --force-yes --no-install-recommends fonts-wqy-microhei
sudo apt install -y --force-yes --no-install-recommends ttf-wqy-zenhei
来下载字体文件,要稍等一会
使用
sudo dpkg-reconfigure locales
进入菜单,选择zh_CN UTF.8 UTF.8,按空格选中,回车继续,下一个菜单也是选这个
完成后重启,变中文了