[CentOS] installing perl-CPAN without perl-local-lib

Gary Stainburn

gary at ringways.co.uk
Mon Jun 4 10:35:39 UTC 2018


I'm still working on getting my brand new Centos 7 mail server working and I'm 
having problems with Perl.

Most of the modules are available as RPM's which was straight forward. 
However, MIME::Parser, Net::SCP and Net::SSH aren't.

In order to get these working I installed the perl-CPAN rpm and then installed 
the modules above.  Doing this, installed perl-local-lib.noarch as a 
dependancy. 

The problem now is that when I used CPAN to the above modules they installed 
without errors, but were only available to the root user.

I can't uninstall perl-local-lib without uninstalling perl-CPAN and I can't 
install perl-CPAN without installing perl-local-lib.

Any ideas on how I can get to do the simple task of installing these modules 
system wide?



More information about the CentOS mailing list