Ok. I don't know how to configure either cpan or apt-get to install a module to a specific location. (i.e. to a private/local folder). Could you advise me how to do this? I'm currently looking it up but not getting very far
I've seen this page to configure cpan but i wasn't asked to configure cpan the first time I used it (unless i missed it) and there is no option for where to install moduleshttp://docs.webfaction.com/software/perl.html
| [reply] [d/l] |
apt-get, aptitude, etc. will install the modules to the system libraries. If you are installing from your distribution's repositories, this should be fine - they should not conflict with your system requirements. I don't know that you can, easily, have them install to alternate locations. You could customize the packages and install from a personal repository, but that's not trivial.
You can configure cpan to install to your home directory. Look for I am not root, how can I install a module in a personal directory? in CPAN.
Others report success with local::lib. I haven't tried it, but it looks made for the purpose.
| [reply] |