[Solved] Linux Perl Error: cannot locate cpan.pm in @inc (@inc contains:inc/usr/local/lib64/perl5/usr)

Environment: CentOS release 6.5

Error condition: deploy MySQL 5.6 MHA to Perl makefile Can’t locate extutils/embedded pm in @INC (@INC contains: /usr/local/lib64/perl5……

Solution:

yum install cpan  perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -y
cpan ExtUtils::Install

Read More: