Re: installing perl modules on F10

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

 



2009/2/6 L <yuanlux@xxxxxxxxx>:
> On Sat, Feb 7, 2009 at 4:02 AM, Dave Cross <davorg@xxxxxxxxx> wrote:
>> 2009/2/6 Norman Gaywood <ngaywood@xxxxxxxxxx>:
>>> 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
>>
>
> 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

cpanspec is what the Fedora Perl team use to build RPMs from CPAN
modules. you may find it builds nicer RPMs than cpan2rpm.

Dave...

-- 
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