vihar has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to install CPAN so I can install some CPAN Perl modules. I don't have root access so I am trying to install everything on this remote server locally under my user id.
I tried the yum command:
yum -y install perl-CPAN
which obviously doesn't work because I am not a root user.
I also tried installing CPAN without yum command, which just returns an error saying CPAN.pm can't be located.
I did my research and gathered info that in order to install these modules locally, I would need to set proper environment variables under perl5 directory. I am not sure how to do that. Also, every time I unzip a tar file for any module and try to run the install command, it returns an error saying that module's .pm file is not located.
Any suggestions or directions on how I can go about doing this? Thanks