in reply to Instal perl module remotely
You'll need to set up a directory under your home tree to install the modules in. ~/lib/perl5 is canonical and convenient.
Then you can either upload the module tarballs and do the
dance, or you can follow Re: Creating my own CPAN directory to produce a private non-root CPAN setup for your home directory. I recommend the second for convenience.$ tar -xzf Foo.tar.gz $ cd Foo $ perl Makefile.PL PREFIX=${HOME} $ make $ make test $ make install
In either case you need to tell perl to search your private lib for modules. Setting the PERL5LIB environment variable will do that for you.
Update: Oops, thanks, bart++. Repaired. I knew there was something fishy about that!
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Instal perl module remotely
by bart (Canon) on May 08, 2006 at 08:13 UTC | |
|
Re^2: Instal perl module remotely
by timotheus (Novice) on May 08, 2006 at 13:31 UTC | |
|
Re^2: Instal perl module remotely
by Polonius (Friar) on May 08, 2006 at 10:56 UTC |