For When You Can't Have The Real Thing
[ start | index | login ]
start > perl > user-private module libraries

user-private module libraries

Created by dave. Last edited by dave, 6 years and 120 days ago. Viewed 2,093 times. #1
[edit] [rdf]
(22 October 2012)

Private Perl Module Installations

Each user can have his own locally-installed perl modules by using the local-lib module:

wget >>
tar zxf local-lib-1.005001.tar.gz
cd ~/local-lib-1.005001
perl Makefile.PL --bootstrap
make test && make install
echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc

Log out and then back in, and future module installs will go to the ~/perl5 tree instead of attempting to install in the system.

(I originally just stored a link to a page explaining this, but the page I linked to is no more. So I'm copying the information here again.)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt