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

Ryan Fox foxryan at gmail.com
Fri Jan 21 14:35:29 PST 2011


Ubuntu doesn't have a package for all Perl modules. You could try `apt-cache
search foo::bar`, but there doesn't seem to be a package for this particular
module.

Try this instead: `cpan File::Inplace`  (you might need sudo, depending on
configuration)

On Fri, Jan 21, 2011 at 5:30 PM, Robert P. J. Day <rpjday at crashcourse.ca>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
>
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>                        http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> _______________________________________________
> kw-pm mailing list
> kw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/kw-pm/attachments/20110121/90415fc1/attachment.html>


More information about the kw-pm mailing list