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

Re^3: Installing modules in personal lib directory

by Joost (Canon)
on Aug 30, 2005 at 01:25 UTC ( #487621=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Installing modules in personal lib directory
in thread Installing modules in personal lib directory

PREFIX=DIRECTORY perl Makefile.PL; make test; make install; should work for most CPAN libs you download yourself ( I haven't tried it with the CPAN shell - try "PREFIX=DIRECTORY perl -MCPAN -e'install Module::Name" on the command line).


Comment on Re^3: Installing modules in personal lib directory
Select or Download Code
Replies are listed 'Best First'.
Re^4: Installing modules in personal lib directory
by eXile (Priest) on Aug 30, 2005 at 14:50 UTC
    when you first use the CPAN shell it asks you a couple of configuration questions. One of the questions asks for 'makepl' arguments (don't remember the specific term), if you enter 'PREFIX=/home/user/perl' (change the path to reflect the location you want your stuff installed in), the CPAN shell (for that user) will always install in /home/user/perl (if the modules take the PREFIX directive).

    You can change your CPAN shell config by editting it's configfile (usually in ~/.cpan/CPAN/MyConfig.pm)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-07-08 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls