batkins has asked for the wisdom of the Perl Monks concerning the following question:
However, not all the users of the script will be able to obtain root access. For these users, I'd like to be able to install the modules into a directory that they can access. The problem is that whenever I try to make use of CPAN.pm from a non-root user, I get errors that CPAN.pm can't access /root/.cpan. I'm fairly sure that this is happening because I initially configured the CPAN module while running as root.
What I need now is to be able to use CPAN.pm as a non-root user. I mentioned this in the CB earlier, and a few people suggested that I could change that user's local CPAN config. I'd really prefer a generic method that would let this run anywhere without having to worry about messing with config files. I'd like to be able to just run Makefile.PL and have those modules installed into a user directory.
Is it possible to do this? Do I need CPANPLUS?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Running CPAN without Being root
by Abigail-II (Bishop) on Nov 02, 2003 at 23:17 UTC | |
by batkins (Chaplain) on Nov 02, 2003 at 23:26 UTC | |
Re: Running CPAN without Being root
by Zaxo (Archbishop) on Nov 02, 2003 at 23:10 UTC | |
Re: Running CPAN without Being root
by simonm (Vicar) on Nov 03, 2003 at 17:37 UTC |