Perl module Installation

Source: Internet
Author: User

"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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.