Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: What is the best way to install CPAN modules on Debian?

by Herkum (Parson)
on Mar 26, 2009 at 16:01 UTC ( [id://753444]=note: print w/replies, xml ) Need Help??

in reply to What is the best way to install CPAN modules on Debian?

I am using Ubuntu and I have come across the same problems. If your lucky the module is already bundled as a package and you can install that. If not, I try to use CPAN. The problem is sometimes finding all the dependencies(underlying libraries) to get packages installed can be difficult.

I have also installed a separate version of Perl due to a Class::Std problem with the default system build. Luckily my application had relatively few library dependencies but sometimes you are still stuck trying to identify and install the correct libraries for modules.

My recommendation.

  1. Install debian packages first.
  2. If the module is outdated, upgrade via CPAN. Worst case you can delete the files manually and reinstall the debian package.
  3. Install via CPAN. Worst case, you spend time finding the packages that are needed to install the libraries you are going to depend on.
  4. Extreme case, you have no options, install a separate version of CPAN. Change the search path for the account(s) that will use the newer version of Perl. God knows what you would break if you replace the default perl executable.
  • Comment on Re: What is the best way to install CPAN modules on Debian?

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-06-24 21:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.