解决warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8): No such file or directory

-bash: warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8): No such                                                                                         file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (zh_CN.UTF-8): No su                                                                                        ch file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (zh_CN.UTF-8): No s                                                                                        uch file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (zh_CN.UTF-8): No su                                                                                        ch file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (zh_CN.UTF-8): No such                                                                                         file or directory

 

# localedef -c -f UTF-8 -i zh_CN zh_CN.utf8

你可能感兴趣的:(解决warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8): No such file or directory)