fwiw, I wholeheartedly support `cpanm` and use only that as much as possible. I 
don't recall when I last used `cpan`


On Dec 22, 2011, at 10:27 AM, Chris Marshall wrote:

> It would be great if you could document the cpanm workflow
> for PDL.  I'm only familiar with cpan but for many purposes,
> cpanm or CPANPLUS are supposed to be better (or at least
> the next generation).
> 
> Maybe a section on our wiki that could migrate into the
> web site at some point?
> 
> --Chris
> 
> 
> On Thu, Dec 22, 2011 at 10:08 AM, Joel Berger <[email protected]> wrote:
>> I would go a slightly different route, I would use `cpanm` which, if
>> you don't have it already, follow the instructions here
>> https://metacpan.org/module/App::cpanminus, or just do (assuming you
>> hace curl)
>> 
>> curl -L http://cpanmin.us | perl - --sudo App::cpanminus
>> 
>> Now comes the easy part, to install dev releases of anything, often
>> even minutes after they are posted to PAUSE, find them on metacpan,
>> for PDL 2.4.9_16 its https://metacpan.org/release/CHM/PDL-2.4.9_016/ ,
>> and get the download link on the left. Now run
>> 
>> sudo cpanm http://cpan.metacpan.org/authors/id/C/CH/CHM/PDL-2.4.9_016.tar.gz
>> 
>> cpanm is a great little CPAN client which does more with less
>> configuration than CPAN.pm IMO. One thing it does is suppress most of
>> the output of installation. For a big module like PDL, and especially
>> with a dev release, you might want to see that output, so use the -v
>> (verbose) flag if you like.
>> 
>> sudo cpanm -v 
>> http://cpan.metacpan.org/authors/id/C/CH/CHM/PDL-2.4.9_016.tar.gz
>> 
>> Cheers,
>> Joel Berger
>> 
>> On Thu, Dec 22, 2011 at 8:54 AM, David Mertens <[email protected]> 
>> wrote:
>>> On Thu, Dec 22, 2011 at 8:10 AM, MARK BAKER <[email protected]> wrote:
>>>> 
>>>> I know this sounds noobish  but how do you get this from cpan can someone
>>>> can someone give me step by step instructions ???
>>>> 
>>>> Thanks & Cheers
>>>> 
>>>> --Mark
>>> 
>>> 
>>> Instructions were in Chris's original announcement. Fire up cpan and type
>>> these:
>>> 
>>> 
>>>       cpan> get  CHM/PDL-2.4.9_016.tar.gz
>>>       cpan> make CHM/PDL-2.4.9_016.tar.gz
>>>       cpan> test CHM/PDL-2.4.9_016.tar.gz
>>>       cpan> look CHM/PDL-2.4.9_016.tar.gz
>>> 
>>> That 'look' will put you in the current CPAN build directory. From there,
>>> you can type 'make install'. You'll need administrative privileges to do
>>> that unless you use local::lib or perlbrew.
>>> 
>>> David
>>> 
>>> _______________________________________________
>>> Perldl mailing list
>>> [email protected]
>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>> 
>> 
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> 
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to