sudo apt install locales安装之后运行配置:
dpkg-reconfigure locales
选择合适的中文语言包,如:zh_CN.UTF-8.
建议在选择时将以下几种全部加入
zh_CN.UTF-8 zh_HK.UTF-8 zh_SG.UTF-8 zh_TW.UFT-8
过程中如果遇到please specify a package to reconfigure错误,则可以使用如下指令运行:
sudo sh -c 'dpkg-reconfigure locales'即可。