in reply to Is there an easier way to find and install modules on Linux?
- I have recently encountered cpanm and cpanp. Do either of them significantly ease installing packages? If not, what advantage do they provide over cpan?
- When cpan is broken through misconfiguration or bum update or some such, cpanp or cpanm usually work.
- cpanp is more flexible and easier to extend and resulted in about a 100 new modules :)
- cpanm is most minimalist in requirements (both memory and modules and index files -- http://cpanmetadb.plackperl.org/ ) and interactivity ...
- all three just install modules in pretty much the same way ... all have some bugs somewhere ... all have few features the other doesn't ... these days I mostly use cpanm cause I hate waiting 5min while my slow disk loads the latest index for cpan/cpanp
- cpanp has tk frontend (/CPANPLUS::Shell::Tk), there might be a cpan one (vague idea, can't find it), cpanm doesn't :_
- cpanm speedup is significant to me
- cpanp extensibility is significant to me
- cpan is core and this is significant (and why it has been improving even after cpanp/cpanm)
- none of cpan/cpanp/cpanm help you install Alien dependencies ... apt-get blah blah blah so all three are on-par with the CPAN drawbacks :)
Now, https://metacpan.org/ provides autocompletion (via jscript) , you start typing, it provides a dropdown list appears ... a Tk frontend could be thrown together
pretty quickly for this (https://metacpan.org/about/faq) ... then you check boxes of stuff you'd like to install like you're used to ... then spawn cpanm or apt-get or whatever ...
Also, http://downloads.activestate.com/ActivePerl/releases/ has linux releases .. and there is a ppms for linux too ... never tried it :)
I am facing installing several dozens of packages on these Linux boxes, and am not looking forward to having to type their full names to do so.
Have you heard of bundles or Tasks? You only type-out the modules you want to install once, and then tell cpan/cpanp/cpanm to install MyBundle.pm and it installs all these modules ... :)