Re: installing perl-CPAN without perl-local-lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 06/04/2018 12:35 PM, Gary Stainburn wrote:
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?

You might want to build rpms for these perl modules, not so hard with cpanspec, eg:

https://www.cyberciti.biz/faq/build-perl-module-rpm-file-with-cpanspec-on-rhel-centos/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux