Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: best way to install modules in your home directory?

by psini (Deacon)
on May 25, 2008 at 20:26 UTC ( #688441=note: print w/replies, xml ) Need Help??


in reply to best way to install modules in your home directory?

I agree with morris and would like to add a "rule 0": try and use modules that are already packaged in your distro.

I myself use Debian stable and in more than 4 years I needed only twice a module not deb-packaged. CPAN has an incredible number of modules, often redundant or overlapping and, if you search only in the modules supported by your distro, chances are high that you'll find something apt.

Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.

  • Comment on Re: best way to install modules in your home directory?

Replies are listed 'Best First'.
Re^2: best way to install modules in your home directory? (digressions)
by moritz (Cardinal) on May 25, 2008 at 20:57 UTC
    I agree that pre-packed modules should be used first (in fact I thought this was self-evident and not worth mentioning), but this...
    I myself use Debian stable and in more than 4 years I needed only twice a module not deb-packaged.

    ... mostly shows that you don't run foreign code very often. (Or under-use CPAN).

    Want to run a jifty application? Need to build and install about 15 more Debian packages. Tired of HTML::Template and want to try HTML::Template::Compiled? Build a new .deb. Heck, not even Text::Table is in Debian.

    Many recently updated modules also depend on minimum versions of others that are too old in Debian.

    During using Debian Etch I assembled a collection of nearly 100 perl modules packed up as Debian modules. And I fear the upgrade to Lenny, because it introduces perl-5.10.0, breaking many of these modules ("breaking" here means that I have to recompile them).

    So what I'd really want to see is a CPAN mirror that automatically builds debian packages out of new modules, and places them into a local Debian mirror. Any takers? ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2021-10-22 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?