Installing other Perl modules wi…

来源:互联网 发布:我的世界符文矩阵 编辑:程序博客网 时间:2024/05/29 10:18

Installing other Perl modules with an Internet connection

If you have an Internet connection for each of the servers inyour IBM® InfoSphere™ Master Data Management Server forProduct Information Management installation, you can use theCPAN module that is part of your default Perl installation todownload and install other Perl modules.

Before you begin

  • If you are using the operating system installation of Perl, youmust have root access.
  • If you are using a custom installation of Perl, make sure thatthe installation directory is the first directory in the PATHstatement.

Procedure

  1. Issue the CPAN command. To run CPAN in a shellenvironment where you can issue commands and respond to prompts,type cpan and press Enter. Or, you can issue thefollowing command to install specific modules and any of itsdependent modules:
    perl –MCPAN –e'install <module_name>' 
  2. If you are running CPAN for the first time, you mustconfigure CPAN. Accept all the default values when prompted.When configuration is complete, you are either given a prompt toinitiate an action or the action that you already specified isinitiated.

Sample:

perl -MCPAN -e "installConfig::Properties"

0 0
原创粉丝点击