Posts Tagged perl

Installing Perl modules

Perl modules may be installed using the CPAN module or from source.
CPAN method
perl -MCPAN -e shell (to get an interactive CPAN shell)
perl -MCPAN -e ‘install Time::JulianDay’ (if you know the name of the module, you can install it directly without interacting with the CPAN shell)

Manually install from source
1. Download the Perl module from CPAN or other site.
2. Extract the tarball.
3. Run perl Makefile.PL
4. Run make
5. Run make test (optional)
6. Run make install
Read the rest of this entry »

,

No Comments