1. 程式人生 > >PERL 手動安裝包

PERL 手動安裝包

wget https://cpan.metacpan.org/authors/id/C/CE/CEVANS/File-Sync-0.09.tar.gz

tar -xzf File-Sync-0.09.tar.gz

### 安裝
perl Makefile.PL PREFIX=/home/rojyang/software/perl-5.18.0/lib 
make
make test
make install

## 寫入環境

use lib qw(/home/rojyang/software/perl-5.18.0/lib/lib64/perl5)

export PERL5LIB=$PERL5LIB:/home/rojyang/software/perl-5.18.0/lib/lib64/perl5
export PATH=$PATH:/home/rojyang/software/perl-5.18.0/lib/lib64/perl5