How to install CPAN modules on mageia 4

231 Views Asked by At

How to install CPAN modules on mageia 4? I am struggling to find out to achieve this.

any help is appreciated..

1

There are 1 best solutions below

0
On

First you probably don't need to, just install the package.

For example perl-WWW-Mechanize is the one for WWW::Mechanize. You should use rpmdrake or urpmi to find the package providing the module you want.

$ urpmf --provides --literal 'perl(WWW::Mechanize)'
perl-WWW-Mechanize:perl(WWW::Mechanize)[== 1.730.0]

If you want to be able to use the cpan command, you need to install perl-devel package.