Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: best way to install modules in your home directory?

by Bloodnok (Vicar)
on May 26, 2008 at 15:34 UTC ( #688534=note: print w/replies, xml ) Need Help??


in reply to best way to install modules in your home directory?

Hi ,

If ever I need to install any modules created using h2xs e.g. CPAN modules, in other than the default location, the first step i.e. when generating the makefile, is to use the PREFIX macro. In your case ...

perl Makefile.PL PREFIX=$HOME

Note that, if it didn't already exist, running make install will create $HOME/lib

HTH

At last, a user level that best describes my experience :-))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2021-10-26 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?