[kw-pm] how to identify the ubuntu package that contains a module?

Justin Wheeler kw-pm at datademons.com
Fri Jan 21 14:55:22 PST 2011


debian/ubuntu follow a standard package naming format for perl modules.

lib<lc(package name with s/::/-/g;)>-perl

So, for example, if DBIx::Class has perl modules, it would be:

libdbix-class-perl

Justin

On 21/01/11 05:30 PM, Robert P. J. Day wrote:
>
>    sort of a ubuntu question but i'm trying to build the "publican"
> publishing package from source on my ubuntu 10.10 system and, almost
> immediately, i get:
>
> $ perl ./Build.PL
> Deleting _build
> Creating custom builder _build/lib/My/Builder.pm in _build/lib/My
> Can't locate File/Inplace.pm in @INC (@INC contains: lib
> /home/rpjday/publican/svn/trunk/publican/_build/lib /etc/perl
> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at lib/Publican/XmlClean.pm line 15,
> <DATA>  line 1662.
> BEGIN failed--compilation aborted at lib/Publican/XmlClean.pm line 15,
> <DATA>  line 1662.
> ...
>
>    so how (in general) can i determine what ubuntu package i should
> install to supply a given module?  thanks.
>
> rday
>


More information about the kw-pm mailing list