Re: how to identify the missing perl module to be installed
> 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 " [r...@cerberus bruno]# yum whatprovides '*/IO/Uncompress/Gunzip.pm' Loaded plugins: dellsysidplugin, refresh-packagekit rpmfusion-nonfree-updates-testing/filelists_db | 12 kB 00:00 fedora/filelists_db | 13 MB 00:00 rpmfusion-nonfree/filelists_db | 44 kB 00:00 rpmfusion-free-updates-testing/filelists_db | 4.1 kB 00:00 updates-testing/filelists_db | 1.5 MB 00:00 rpmfusion-free-updates/filelists_db | 57 kB 00:00 rpmfusion-free/filelists_db | 303 kB 00:00 updates/filelists_db | 4.3 MB 00:00 rpmfusion-nonfree-updates/filelists_db | 14 kB 00:00 perl-IO-Compress-Zlib-2.008-49.fc10.x86_64 : Perl interface to allow reading and : writing of gzip and zip data Repo: fedora Matched from: Filename: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/IO/Uncompress/Gunzip.pm perl-IO-Compress-Zlib-2.008-52.fc10.x86_64 : Perl interface to allow reading and : writing of gzip and zip data Repo: updates Matched from: Filename: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/IO/Uncompress/Gunzip.pm perl-IO-Compress-Zlib-2.008-52.fc10.x86_64 : Perl interface to allow reading and : writing of gzip and zip data Repo: installed Matched from: Filename: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/IO/Uncompress/Gunzip.pm -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: how to identify the missing perl module to be installed
another way to view the installed modules installed to see the documentation for each module ;) perldoc perllocal Gustavo Eli Pelcastre H. > > 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@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: > http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: how to identify the missing perl module to be installed
On 1/16/09, Robert P. J. Day wrote: > > > 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 > ... ** perl -MCPAN -e 'install IO::Uncompress::Gunzip' provided your CPAN module has been configured. -- -jp I think somebody should come up with a way to breed a very large shrimp. That way, you could ride him, then after you camped at night, you could eat him. How about it, science? deepthoughtsbyjackhandey.com -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: how to identify the missing perl module to be installed
Robert P. J. Day wrote: 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 " yum whatprovides 'perl(IO::Uncompress::Gunzip)' says that package perl-IO-Compress-Zlib provides it. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
how to identify the missing perl module to be installed
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@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines