cpan modules installing

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
cruisemissile
Posts: 1
Joined: 2007/12/06 13:36:36

cpan modules installing

Postby cruisemissile » 2007/12/06 13:53:56

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

pjwelsh
Posts: 2578
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: cpan modules installing

Postby pjwelsh » 2007/12/06 16:58:05

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.

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

cpan modules installing

Postby michaelnel » 2007/12/06 17:57:57

pjwelsh wrote:
*IF* you need to do your own, I strongly recommend that you use "cpan2rpm" or "perl2rpm" as perl-to-rpm package creators.


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

Michael

pjwelsh
Posts: 2578
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: cpan modules installing

Postby pjwelsh » 2007/12/06 19:21:07

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.