[Melbourne-pm] CPAN Vs Package managers

Mathew Robertson mathew.robertson at netratings.com.au
Wed May 9 19:53:40 PDT 2007


>> Just wanted some people's thoughts on what the 'best' way to install
>> perl modules on linux is: CPAN or your distro's package manager.
>>     
> [snipped]
>
> Building a debian package from CPAN is usually as simple as:
>
> 	dh-make-perl --build --cpan Example::Module
>
> You can even change --build to --install if you want to speed the process.
> If you don't have dh-make-perl, you can use:
>
> 	apt-get install dh-make-perl
>
> to install it.
>
> In this way, you can use pre-built packages for most of your modules, and
> dh-make-perl packages to fill in the gaps.
>   
Likewise, this applies for Gentoo as well:

g-cpan -i <CPAN module>

will look for an existing gentoo package of the module; if not found, it
will fetch the CPAN version and create a gentoo package; then install
the package into the dependency tree.

Mathew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/melbourne-pm/attachments/20070510/1d1e14be/attachment.html 


More information about the Melbourne-pm mailing list