Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Install LWP from CPAN on Ubuntu Heron 8.04

by mpettis (Beadle)
on Aug 21, 2008 at 16:40 UTC ( [id://705858]=note: print w/replies, xml ) Need Help??


in reply to Re: Install LWP from CPAN on Ubuntu Heron 8.04
in thread Install LWP from CPAN on Ubuntu Heron 8.04

Worked like a charm! Is there a similar way to get, say, WWW::Mechanize? having more CPAN troubles getting that module... Thanks, Matt
  • Comment on Re^2: Install LWP from CPAN on Ubuntu Heron 8.04

Replies are listed 'Best First'.
Re^3: Install LWP from CPAN on Ubuntu Heron 8.04
by moritz (Cardinal) on Aug 21, 2008 at 16:51 UTC
    The Debian (and Ubuntu) package for a distribution Foo-Bar is always named libfoo-bar-perl.

    For most modules like WWW::Mechanize the distribution has the same name as the main module, so look for a package libwww-mechanize-perl. I Don't know if there is such a package in your distribution.

    (LWP is a bit special in this regard because the distribution predates the package names that we now know. Luckily apt-cache search perl lwp turns up libwww-perl - WWW client/server library for Perl (aka LWP).)

      aptitude install libwww-mechanize-perl
      Worked great, thanks! matt
      Got it all to work, and I now understand that for many of the CPAN packages I want, there is a corresponding Linux package. Dumb question, but I'll ask anyway -- can someone tell me why some CPAN modules have corresponding Linux (in my case, Ubuntu) packages? Are they for the Perl modules that have some binaries and are not pure Perl? Because some modules download fine in CPAN, and I'd doubt that there is a corresponding Linux package. Thanks, Matt
        Can someone tell me why some CPAN modules have corresponding Linux (in my case, Ubuntu) packages?

        They exist as Debian or Ubuntu packages only because someone packaged them. Perhaps they're very popular, or they're requirements of other packages. In general, there's no single reason.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705858]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found