完全編譯安裝perl,及其模組。
在rhel6.5上做的測試,但是個人感覺在centos7上也是可行的。
注意:需要把安裝包解壓放到/opt目錄下,給指令碼新增執行許可權。
#!/bin/bash
# the script to install perl, yaml, yaml::xs, yaml::syck, yaml::tiny, yaml::active, io::yaml, config::yaml
# date: 2018-8-3
# version 1.2
# by hy
# install perl 5.28
cd /opt/perl/tar_install/tar
tar xf perl-5.28.0.tar.gz
cd perl-5.28.0
./configure.gnu --prefix=/usr/local/perl
make && make install
mv /usr/bin/perl /usr/bin/perl.old
ln /usr/local/perl/bin/perl /usr/bin/perl
tar xf test-deep-1.128.tar.gz
cd test-deep-1.128
perl makefile.pl
make && make install
tar xf algorithm-diff-1.1903.tar.gz
cd algorithm-diff-1.1903
perl makefile.pl
make && make install
tar xf spiffy-0.46.tar.gz
cd spiffy-0.46
perl makefile.pl
make && make install
tar xf tar -xf text-diff-1.45.tar.gz
cd tar -xf text-diff-1.45
perl makefile.pl
make && make install
tar xf test-base-0.89.tar.gz
cd test-base-0.89
perl makefile.pl
make && make install
tar xf test-yaml-1.07.tar.gz
cd test-yaml-1.07
perl makefile.pl
make && make install
tar xf yaml-1.26.tar.gz
cd yaml-1.26
perl makefile.pl
make && make install
tar xf yaml-libyaml-0.72.tar.gz
cd yaml-libyaml-0.72
perl makefile.pl
make && make install
tar xf yaml-syck-1.30.tar.gz
cd yaml-syck-1.30
perl makefile.pl
make && make install
tar xf yaml-tiny-1.73.tar.gz
cd yaml-tiny-1.73
perl makefile.pl
make && make install
tar xf class-accessor-0.51.tar.gz
cd class-accessor-0.51
perl makefile.pl
make && make install
tar xf sub-name-0.21.tar.gz
cd sub-name-0.21
perl makefile.pl
make && make install
universal::require
tar xf universal-require-0.18.tar.gz
cd universal-require-0.18
perl makefile.pl
make && make install
tar xf class-accessor-installer-1.100880.tar.gz
cd class-accessor-installer-1.100880
perl makefile.pl
make && make install
tar xf data-miscellany-1.100850.tar.gz
cd data-miscellany-1.100850
perl makefile.pl
make && make install
tar xf exporter-tiny-1.002001.tar.gz
cd exporter-tiny-1.002001
perl makefile.pl
make && make install
tar xf list-moreutils-xs-0.428.tar.gz
cd list-moreutils-xs-0.428
perl makefile.pl
make && make install
tar xf list-moreutils-0.428.tar.gz
cd list-moreutils-0.428
perl makefile.pl
make && make install
tar xf class-accessor-complex-1.100880.tar.gz
cd class-accessor-complex-1.100880
perl makefile.pl
make && make install
tar xf yaml-active-1.100810.tar.gz
cd yaml-active-1.100810
perl makefile.pl
make && make install
tar xf io-stringy-2.111.tar.gz
cd io-stringy-2.111
perl makefile.pl
make && make install
tar xf io-yaml-0.10.tar.gz
cd io-yaml-0.10
perl makefile.pl
make && make install
tar xf config-yaml-1.42.tar.gz
cd config-yaml-1.42
perl makefile.pl
make && make install
# test
perl -v
perl 交叉編譯
編譯前的準備 原始碼包 perl 5.22.4.tar.gz 交叉編譯補丁包 perl 5.10.0 cross 0.1.tar.gz 解壓 perl 5.22.4.tar.gz 在x86上進行.configure.gnu 和make 得到乙個 generate uudmap 可執行檔案,儲存備用 ...
Linux下編譯安裝Perl6 Rakudo
perl 6 是一種高階的,通用的,漸進型別的語言。perl 6 是多正規化的。它支援過程式程式設計,物件導向程式設計和函式式程式設計。和perl5對比 perl5 是用 c 寫的核心,雖然已經很成熟,但核心 太龐大,充滿了各種難以理解的呼叫,且對多執行緒 unicode 的支援並不好,perl6 ...
perl 簡單學習,安裝perl模組
檢查是否安裝了某個perl模組 有多種方式 0.perldoc perlinstall 列出所有的模組及版本號 1.perl m模組名 e 1 模組名不加空格 沒有返回值則說明有此模組 2.perl e use dbd oracle print dbd oracle version n window...