Install Perl PAR::Packer in RHEL7

Install System RPMs

1
2
3
4
5
# yum install perl-ExtUtils-Embed
# yum install perl-ExtUtils-CBuilder
# yum install perl-Archive-*
# yum install perl-Crypt-OpenSSL-*
# yum install openssl

Download & Install Perl Modules

1
2
3
4
5
# tar xvf PERL_MODULE.tar.gz
# cd PERL_MODULE
# perl Makefile.pl
# make test
# make install

The installed Perl modules can be found in -
/usr/share/perl5/ or
/usr/local/share/perl5/

Pre-downloaded Perl modules
If there are still any dependancy modules, search and download them from https://metacpan.org/.

Test-Requires-0.11.tar.gz
Getopt-ArgvFile-1.11.tar.gz
IPC-Run3-0.048.tar.gz
Module-ScanDeps-1.31.tar.gz
PAR-Dist-0.51.tar.gz
PAR-Heavy-1.018.tar.gz
PAR-Packer-1.057.tar.gz
Filter-Crypto-2.09.tar.gz

Usage of pp

1
2
3
/usr/local/bin/pp \
-f Crypto -M Filter::Crypto::Decrypt \
-o perl_script_entry.exe perl_script_entry