Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: OSX Server Perl install modules

by jeffa (Bishop)
on Jan 27, 2016 at 19:54 UTC ( #1153785=note: print w/replies, xml ) Need Help??


in reply to OSX Server Perl install modules

You need to run that under sudo. Also, you might want to consider using perlbrew which will allow you to install modules as a non-privileged user. From the shell:

$ sudo cpan

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^2: OSX Server Perl install modules
by perldb2 (Initiate) on Jan 27, 2016 at 20:00 UTC
    Well sudo does not work either
    cpan[2]> sudo install Finance::YahooQuote + + Unknown shell command 'sudo'. Type ? for help.
      You need to use sudo for the CPAN shell:
      sudo perl -MCPAN -e shell ... cpan> install Finance::YahooQuote
        sudo in the shell worked! My silly mistake

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-05-20 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?