1.查看可选语言显示包
locale -a
............(省略好多)
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_HK
zh_HK.big5hkscs
zh_HK.utf8
zh_SG
zh_SG.gb2312
zh_SG.gbk
zh_SG.utf8
zh_TW
zh_TW.big5
zh_TW.euctw
zh_TW.utf8
..........(省略好多)
2.临时设置显示语言包
比如选择中文简体utf8
LANG="zh_CN.utf8"
3.修改系统默认语言
vi /etc/locale.conf
LANG="zh_CN.utf8"
时间: 2024-10-21 20:53:19