How to install perl-readonly module?

Solution Unverified - Updated -

Issue

  • How to install perl-readonly module which is required for nagios?
  • Got a warning when trying to install a script which requires readonly module.
  • when I try to install the perl readonly package, there's no package available for this.
# perl Makefile.PL INSTALLSCRIPT=/usr/lib64/nagios/plugins
Warning: prerequisite Readonly 0 not found.
Writing Makefile for check_diskio

# yum install perl-Readonly*
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager

This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
adobe-linux-x86_64                                       |  951 B     00:00
epel/metalink                                            | 3.3 kB     00:00
rhel-x86_64-server-6                                     | 1.8 kB     00:00
No package perl-Readonly* available.
Error: Nothing to do

Environment

  • Red Hat Enterprise Linux 6
  • perl

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.