Linux下安装Perl 5

 

在安装openssl时需要安装Perl5,否则报一下错误。

Operating system: x86_64-whatever-linux2 You need Perl 5.

安装Perl 5的执行步骤为:

####需要安装 perl-5https://www.cpan.org/src/README.html
 wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz
 tar -xzf perl-5.28.0.tar.gz
 cd perl-5.28.0
 ./Configure -des -Dprefix=$HOME/localperl
 make
 make test
 make install

 在执行Configure 命令时如果出现

cc: command not found   错误时

需要参考:

gcc 安装方法https://blog.csdn.net/warylee/article/details/84628075

posted @ 2018-11-29 13:38  夜月光雾  阅读(612)  评论(0编辑  收藏  举报