Wednesday, November 5, 2014

How to install Perl modules on AIX Server?

How to install Perl modules on AIX Server?

Download perl module from http://search.cpan.org

Execute following commands to install module

gunzip –d package-module.tar.gz
tar xvf package-module.tar
cd package-module
perl Makefile.PL

If perl is installed on different location i.e.; /home/user/perl. Then follow below command

/home/user/perl/bin/perl Makefile.PL
make
make test
make install

Check installed perl module version

/home/user/perl/bin/perl –Mpackage::name –le ‘print $package::name::version’

For example, for EMail-Simple module


/home/user/perl/bin/perl -MEmail::Simple -le 'print $Email::Simple::VERSION'

1 comment: