centos下安装perl的问题

按照教程安装完perl后,在命令行中输入perl -v后,屏幕显示了以下信息
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.UTF-8",
LC_ALL = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2015, Larry Wall

Binary build 2200 [299195] provided by ActiveState http://www.ActiveState.com
Built Jul 19 2015 04:52:45

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

哪位大神能帮我解决这个问题呢?谢谢

2个回答

banbanlau
键言 能详细说一下么?你给我发的链接都是在Ubuntu环境下的,我用的是CentOS啊
大约 5 年之前 回复
 export LC_ALL="C"
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问