Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: CPAN ask me install a package repeatly

by Riales (Hermit)
on Feb 22, 2012 at 19:44 UTC ( #955607=note: print w/replies, xml ) Need Help??


in reply to Re^2: CPAN ask me install a package repeatly
in thread CPAN ask me install a package repeatly

Have you tried running the command w/ sudo?
sudo perl -MCPAN -e 'install File::Basename'

Replies are listed 'Best First'.
Re^4: CPAN ask me install a package repeatly
by plantae (Initiate) on Feb 22, 2012 at 20:18 UTC
    I install modules in my local directory, without any problem .
    This problem only occurs after I try to install perl-5.15.4.
    sudo only applies if I have root access.

      I'm fairly ignorant as to what's really happening when I install a module via MCPAN, but in my experience it seems that some modules require root to install properly...but let me know if this is a misconception on my part!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955607]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-11-21 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (312 votes). Check out past polls.

    Notices?