Just install modules as root.

poor man's cpan configuration follows...

If cpan has not been run before, there's a set of questions.
The first I think is if to save (say yes)
Then some questions like
path to ncpftp [] ?
For all those, press enter

You may be asked if you want to set a timeout for interactive bla bla, set it to like 30 or so (seconds).
If you don't set one and you install a module that asks you something before install, it just hangs until you say something.

Then you get to a list of servers, listed
1 servername
2 servername
3 servername
...

Selected two or three, like
12 enter
5 enter
3 enter

then enter again (with nothing as input) to continue

if when we started you selected to save (or something to that extent) you won't ever be asked these questions again when you run cpan

This is all saved to a conf file in ~/.cpan/CPAN/MyConfig.pm or something like that.

So it can be edited by text at any moment (the options you selected).


In reply to Re: Perl Cpan Question by leocharre
in thread Perl Cpan Question by RobinV

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.