进入 cd /usr/local
执行命令:
wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz 下载压缩包
tar -zxvf perl-5.28.0.tar.gz
cd perl-5.28.0
./Configure -des -Dprefix=$HOME/localperl
make
make test
make install
进入 cd /usr/local
执行命令:
wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz 下载压缩包
tar -zxvf perl-5.28.0.tar.gz
cd perl-5.28.0
./Configure -des -Dprefix=$HOME/localperl
make
make test
make install