I found that installing native Debian or Ubuntu Perl packages is often more reliable and convenient than manually installing Perl modules through cpanm(especially for XS modules). Is there an easy way to find these modules given the list of required Perl modules? The most convenient way would be to display a cpanfile , e.g.
requires 'XML::LibXSLT', '1.78';
to the list of distributions and packages that provide modules for different target platforms:
XML::LibXSLT, Ubuntu 13.04, libxml-libxslt-perl, 1.78
XML::LibXSLT, Ubuntu 13.10, libxml-libxslt-perl, 1.78
XML::LibXSLT, Ubuntu 14.04, libxml-libxslt-perl, 1.84
XML::LibXSLT, Debian squeeze, libxml-libxslt-perl, 1.70
XML::LibXSLT, Debian wheezy, libxml-libxslt-perl, 1.77
XML::LibXSLT, Debian jessie, libxml-libxslt-perl, 1.92
XML::LibXSLT, Debian sid, libxml-libxslt-perl, 1.92
PS: I think that information can somehow be found from the package repositories of each distribution, for example. http://packages.ubuntu.com/ and https://packages.debian.org , but is there a script solution that already does this search?
Jakob source
share