bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)


sudo apt-get update

sudo apt-get install locales -y

sudo locale-gen en_US.UTF-8

sudo dpkg-reconfigure locales

sudo update-locale LC_ALL=en_US.UTF-8

 

#或者手动编辑

cat /etc/default/locale

#LANG="en_IN"(old locale)

#LANGUAGE="en_IN:en"(old setting)

LC_ALL=en_US.UTF-8

LANG=en_US.UTF-8


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM