Hi,
I already did the following steps:
1) yum install perl
-> as result : perl already installed and updated, nothing to do
2) yum install cpan -> that's ok
3) yum install cpanminus
--> Processing Dependency: perl
MODULE_COMPAT_5.10.1) for package: perl-Module-Signature-0.79-1.el6.noarch
---> Package perl-Net-LibIDN.x86_64 0:0.12-15.el7 will be installed
---> Package perl-Net-SSLeay.x86_64 0:1.55-3.el7 will be installed
--> Finished Dependency Resolution
Error: Package: perl-Module-Signature-0.79-1.el6.noarch (epel)
Requires: perl
MODULE_COMPAT_5.10.1)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
3) cpan JSON
-> CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes] yes
<install_help>
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
thanks for your help, now I'll try what your suggested and will keep you updated