installing perl modules on F10
L
yuanlux at gmail.com
Fri Feb 6 23:31:40 UTC 2009
On Sat, Feb 7, 2009 at 4:02 AM, Dave Cross <davorg at gmail.com> wrote:
> 2009/2/6 Norman Gaywood <ngaywood at une.edu.au>:
>> Hi list,
>>
>> So whats the recommended way of installing perl modules in Fedora 10?
>
> rpm and/or yum
>
>> What we have been doing in the past is to install a perl-* rpm via yum
>> if one is available for the module we want.
>>
>> If the module is not available via rpm, we use "perl -MCPAN -e shell" to
>> install modules.
>
> I really don't recommend that. Mixing rpm-installed modules and
> cpan-installed modules is very likely to lead to unhappiness.
>
> You may find my "Perl in RPM-Land" presentation interesting.
>
> http://www.slideshare.net/davorg/perl-in-rpmland-presentation
>
> Cheers,
>
I use cpan2rpm, you install cpan2rpm by
yum install capan2rpm
then for example:
cpan2rpm -i Statistics::Distribution
or
cpan2rpm --no-sign -i Statistics::Regression
I changed "Pod::Text" in /usr/bin/cpan2rpm to "Pod::Parser"
It is very handy
Y
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
More information about the fedora-list
mailing list