[Melbourne-pm] CPAN Vs Package managers
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.
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Melbourne-pm