Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: How to change @INC permanently?

by cbrandtbuffalo (Deacon)
on Aug 24, 2005 at 19:50 UTC ( #486345=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to change @INC permanently?
in thread How to change @INC permanently?

It's a good practice to avoid being root if you can. I just use sudo and get the same results with a safety net. You can either run the CPAN shell using sudo to install things or use sudo on the final install step for a manual install.
perl Makefile.PL make make test sudo make install
That will put the new modules in the places perl expects and make them available for everyone and you don't need to log in as root.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://486345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-02-08 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (44 votes). Check out past polls.

    Notices?