命令
,出现报错:Failed to set locale, defaulting to C.UTF-8
locale -a 命令,
查看目前系统已安装的语言包yum install glibc-langpack-zh
安装英文语言包,命令 dnf install glibc-langpack-en
或 dnf install langpacks-en glibc-all-langpacks -y
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile
或使用命令locale -gen en_US.UTF-8
Failed to set locale, defaulting to C.UTF-8
原文:https://www.cnblogs.com/h2285409/p/14745010.html