Installing Perl-CPAN Without Perl-local-lib

Home » CentOS » Installing Perl-CPAN Without Perl-local-lib
CentOS 3 Comments

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?

3 thoughts on - Installing Perl-CPAN Without Perl-local-lib