local_perl_modules
This is an old revision of the document!
To install a local perl module, follow steps like these:
mkdir ~/lib cd ~/lib wget http://search.cpan.org/CPAN/authors/id/R/RK/RKHILL/DateTime-Astro-Sunrise-0.01_01.tar.gz tar -zxvf DateTime-Astro-Sunrise-0.01_01.tar.gz cd DateTime-Astro-Sunrise-0.01_01 perl Makefile.PL PREFIX=~/lib LIB=~/lib make make test make install <code> In the actual script you want to run, include this: <code> use lib '/path/to/username/lib'; use DateTime; use DateTime::Astro::Sunrise;
local_perl_modules.1421941808.txt.gz · Last modified: 2015/01/22 10:50 by juckins