TOP ▲ itcore TOPTIPScentos5_perl.php  タグ:centos5 perl インストール

centos5 perl v5.10 インストール | itcore 2019年

yumインストール

centos5 update失敗 リポジトリ修正
# yum update -y perl
# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
※yumの最新はv5.8.8だったのでソースから入れる。

ソースインストール

# yum erase -y perl
# yum install -y make gcc wget
# cd /root
# wget http://www.perl.com/CPAN/src/perl-5.10.0.tar.gz --no-check-certificate
※OpenSSLの問題でうまくいかない場合はPCでダウンロードしてscpする。
# tar zxvf perl-5.10.0.tar.gz
# cd perl-5.10.0
# ./configure.gnu
# make
# make test
All tests successful.
# make install
# perl -v
This is perl, v5.10.0 built for x86_64-linux