how to identify the missing perl module to be installed

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

 



  is there a quick way to map a perl module to its corresponding
package to be installed?  someone just dumped a perl script on one of
my systems, and it fails with:

  "Can't locate IO/Uncompress/Gunzip.pm in @INC ... etc etc "

fair enough, so which of the perl module packages would i need to
install?  taking a shot in the dark, on one of my other systems, i
ran:

$ yum search perl-IO-Compress
... snip ...
perl-IO-Compress-Base.i386 : Base Class for IO::Compress modules
perl-IO-Compress-Bzip2.noarch : Perl interface to allow reading and writing of bzip2 data
perl-IO-Compress-Zlib.i386 : Perl interface to allow reading and writing of gzip and zip data

$ rpm -qi perl-IO-Compress-Base
...
This module is the base class for all IO::Compress and IO::Uncompress
modules.
$

  so that kind of gives it away, but what if i wasn't such a lucky
guesser?  is there a mapping utility from module to RPM package?
thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux