Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • yum -y install perl-CPAN. No package perl-CPAN available.

    Posted on

    I have a perl script that will not run because Time::Piece.pm is missing.
    When I try and install Time::Piece.pm (/usr/bin/perl -MCPAN -e install Time::Piece) fails with this message - Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).

    When I try and install CPAN or MCPAN I get this message -
    yum -y install perl-CPAN
    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    This system is receiving updates from Red Hat Subscription Management.
    Setting up Install Process
    No package perl-CPAN available.
    Error: Nothing to do

    Why can't I update perl?

    Thank you

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat