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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content