"Linux/unix" manual Installation and automatic installation
manual Installation: The modules you need, manually compiled, installed
assuming you want to install the Xml-simple module, download the DBI module version 2.20 from the cpan (http://www.cpan.org/) to the compressed file xml-simple-2.20. tar.gz, assuming that it is placed under/usr/local/src/.
Cd/usr/local/src
Unzip this file:
Tar xvzf xml-simple-2.20. tar.gz
A new xml-simple-2.20 directory is created.
CD xml-simple-2.20
Generate Makefile:
Perl makefile.pl
Building modules
Make
Test module
Make Test
If the test results report "All test OK", you can safely install the compiled modules. Before installing the module, first
Make sure that you have writable permissions to the PERL5 installation directory (usually obtained with the SU command) and perform
Make Install
Perl module Installation