Sunday, January 27, 2008

How to install perl module

Keywords: perl module, make and install


一般步骤是:


A. DECOMPRESS


gunzip -dc yourmodule.tar.gz


B. UNPACK


tar -xof yourmodule.tar


C. BUILD


Go into the newly-created directory and type:



perl Makefile.PL
make
make test


D. INSTALL


While still in that directory, type:



make install




更详细的内容, 参考下面的文章, 它涵盖了UNIX,WINDOWS和Macintosh这几种主流系统下, 如何安装perl模块。


capied from perlmodinstall - Installing CPAN Modules http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlmodinstall.html

No comments: