How do I install a Perl CPAN module to a custom directory?

Solution Unverified - Updated -

Issue

  • How do I install a Perl CPAN module to a custom directory?
  • I want to install modules to a location where yum updates will not affect them

Environment

  • Red Hat Enterprise Linux, any version
  • perl 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.