usage_on_fly
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
usage_on_fly [2012/02/23 18:19] – k2patel | usage_on_fly [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== To install Modules Locally ==== | ==== To install Modules Locally ==== | ||
- | Best way to install local module is to install module "local::lib".\\ | + | |
+ | local:: | ||
+ | without requiring root or administrator access. See the bootstrapping technique for how to get started.\\ | ||
+ | You can create a directory per user/ | ||
+ | by copying the directory (as long as you are on the same operating system). | ||
+ | |||
[[http:// | [[http:// | ||
But you can also manually do it. | But you can also manually do it. | ||
Line 13: | Line 19: | ||
| | ||
</ | </ | ||
+ | |||
+ | <note warning> | ||
**create the .cpan directories** | **create the .cpan directories** | ||
Line 35: | Line 43: | ||
o conf init | o conf init | ||
</ | </ | ||
- | to reconfigure CPAN, replace all \*/ | + | < |
- | Then edit ''/ | + | change the makepl_arg so it should look like. |
- | < | + | < |
' | ' | ||
</ | </ | ||
Line 45: | Line 53: | ||
<code oobas> | <code oobas> | ||
- | | + | |
</ | </ | ||
and then you should be able to use CPAN to install modules. | and then you should be able to use CPAN to install modules. | ||
- | I then modified | + | I then modified following |
- | < | + | < |
- | push @INC,qw(/home/$user/ | + | export PERL_LOCAL_LIB_ROOT=" |
+ | export PERL_MB_OPT=" | ||
+ | export PERL_MM_OPT=" | ||
+ | export PERL5LIB="/ | ||
+ | export PATH="/ | ||
</ | </ | ||
- | |||
- |
usage_on_fly.1330021142.txt.gz · Last modified: 2020/08/10 02:29 (external edit)