Page 1 of 1

cpan modules installing

Posted: 2007/12/06 13:53:56
by cruisemissile
hi folks,

I installed centos 5.1. Now i need to install the following perl modules CGI::Carp, Config, Cwd, Data::Dumber.
Someone told me there is a way to install it using yum. When i search in yum it doesnt find some of the modules. I can find the packages in the CPAN, but i heard it's better to install using yum.

do i have to add additional repos for that or is there someting like a who is who from cpan to yum?

the reason for this perl modules is, i want to install twiki.

bye,
cruise

Re: cpan modules installing

Posted: 2007/12/06 16:58:05
by pjwelsh
http://wiki.centos.org/Repositories/ will provide some helpful info on adding repos like rpmforge that likely has many of the packages you are after. *IF* you need to do your own, I strongly recommend that you use "cpan2rpm" or "perl2rpm" as perl-to-rpm package creators.

cpan modules installing

Posted: 2007/12/06 17:57:57
by michaelnel
[quote]
pjwelsh wrote:
*IF* you need to do your own, I strongly recommend that you use "cpan2rpm" or "perl2rpm" as perl-to-rpm package creators.[/quote]

Way cool! I didn't know those packages existed. I will use them from now on, thanks!

Michael

Re: cpan modules installing

Posted: 2007/12/06 19:21:07
by pjwelsh
I actually need to use both (at different times) cpan2rpm and perl2rpm since neither is 100% about building all of the odd perl stuff I'm forced to put onto the system. But atleast I can easily disseminate the resulting .rpm (all of the bonuses of the package manager). These also partially help at build time with the dependency hell that will sometimes happen.