linux:perl

perl のビルドとインストール

$ curl -O https://downloads.activestate.com/ActivePerl/releases/5.26.3.2603/ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0.tar.gz
$ tar zxvf ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0.tar.gz
$ cd ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0
$ sudo sh install.sh
Checking package...done

Welcome to ActivePerl

    ActivePerl is ActiveState's quality-assured binary build of
    Perl.  In order to install ActivePerl you need to agree to
    the ACTIVESTATE® COMMUNITY EDITION LICENSE AGREEMENT.

Did you read the LICENSE.txt file? [no] yes <- yes を入力して Enter
Do you agree to the ACTIVESTATE® COMMUNITY EDITION LICENSE AGREEMENT? [no] yes <- yes を入力して Enter

    This installer can install ActivePerl in any location of your
    choice. You do not need root privileges.  However, please make sure
    that you have write access to this location.

Enter top level directory for install? [/opt/ActivePerl-5.26] <- Enter を入力

    The ActivePerl documentation is available in HTML format.  If installed
    it will be available from file:///opt/ActivePerl-5.26/html/index.html.
    If not installed you will still be able to read all the basic perl and
    module documentation using the man or perldoc utilities.

Install HTML documentation [yes] <- Enter を入力
Ok.

    The typical ActivePerl software installation requires 200 megabytes.
    Please make sure enough free space is available before continuing.

Proceed? [yes] <- Enter を入力
Ok.

Installing ActivePerl...
Copying files to /opt/ActivePerl-5.26...done
Relocating...done (287 files relocated)
Generating HTML documentation...done
Syncing perl PPM database with .packlists...done 

ActivePerl has been successfully installed at /opt/ActivePerl-5.26.

Please modify your startup environment by adding:

   /opt/ActivePerl-5.26/site/bin:/opt/ActivePerl-5.26/bin to PATH
   /opt/ActivePerl-5.26/site/man:/opt/ActivePerl-5.26/man to MANPATH

For general questions or comments about ActivePerl, please
contact us at <support@activestate.com>.

Thank you for using ActivePerl!

Do you want to download a free trial of Komodo IDE? [Y/n] n <- n を入力

無理矢理システムの perl を置き換える。

$ cd /usr/bin
$ sudo mv perl perl.org
$ sudo ln -s /opt/ActivePerl-5.26/bin/perl perl
$ perl -v

This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2018, Larry Wall

Binary build 2603 [a701e55e0] provided by ActiveState http://www.ActiveState.com
Built Dec 17 2018 10:07:49

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ cd /usr/bin
$ sudo rm perl
$ sudo mv perl.org perl
$ perl -v

This is perl 5, version 14, subversion 3 (v5.14.3) built for x86_64-linux-thread-multi

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ curl -O http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/p/perl-5.28.1-430.fc30.x86_64.rpm
$ rpm -ivh perl-5.28.1-430.fc30.x86_64.rpm
警告: perl-5.28.1-430.fc30.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID cfc659b9: NOKEY
エラー: 依存性の欠如:
	perl(:MODULE_COMPAT_5.28.1) は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Archive-Tar は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Attribute-Handlers は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-B-Debug は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-CPAN は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-CPAN-Meta は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-CPAN-Meta-Requirements は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-CPAN-Meta-YAML は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Carp は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Config-Perl-V は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-DB_File は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Data-Dumper は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Devel-PPPort は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Devel-Peek は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Devel-SelfStubber は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Digest は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Digest-MD5 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Digest-SHA は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Encode は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Encode-devel は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Env は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Errno は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Exporter は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-CBuilder は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-Command は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-Embed は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-Install は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-MakeMaker は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-Manifest は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-Miniperl は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-ExtUtils-ParseXS は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-File-Fetch は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-File-Path は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Filter は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Filter-Simple は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Getopt-Long は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-HTTP-Tiny は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-IO は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-IO-Socket-IP は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-IO-Zlib は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-IPC-Cmd は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-IPC-SysV は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-JSON-PP は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Locale-Maketext は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Locale-Maketext-Simple は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-MIME-Base64 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Math-BigInt は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Math-BigInt-FastCalc は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Math-BigRat は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Math-Complex は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Memoize は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-CoreList は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-CoreList-tools は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-Load は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-Load-Conditional は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-Loaded は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Module-Metadata は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Net-Ping は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Params-Check は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Perl-OSType は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-PerlIO-via-QuotedPrint は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Pod-Checker は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Pod-Html は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Pod-Parser は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Pod-Perldoc は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Pod-Usage は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-SelfLoader は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Storable は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Sys-Syslog は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Term-ANSIColor は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Term-Cap は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Test は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Test-Harness は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Test-Simple は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Text-Balanced は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Text-ParseWords は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Text-Tabs+Wrap は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Thread-Queue は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Time-HiRes は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Time-Local は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Time-Piece は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Unicode-Collate は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-Unicode-Normalize は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-autodie は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-bignum は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-constant は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-devel(x86-64) = 4:5.28.1-430.fc30 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-encoding は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-experimental は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-interpreter(x86-64) = 4:5.28.1-430.fc30 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-libnet は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-libnetcfg は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-libs(x86-64) = 4:5.28.1-430.fc30 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-open は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-parent は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-perlfaq は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-podlators は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
	perl-utils は perl-4:5.28.1-430.fc30.x86_64 に必要とされています
$ sudo yum install perl-Archive-Tar perl-Attribute-Handlersperl-B-Debug perl-CPAN perl-CPAN-Meta perl-CPAN-Meta-Requirements perl-CPAN-Meta-YAML perl-Carp perl-Config-Perl-V perl-DB_File perl-Data-Dumper perl-Devel-PPPort perl-Devel-Peek perl-Devel-SelfStubber perl-Digest perl-Digest-MD5 perl-Digest-SHA perl-Encode perl-Encode-devel perl-Env perl-Errno perl-Exporter perl-ExtUtils-CBuilder perl-ExtUtils-Command perl-ExtUtils-Embed perl-ExtUtils-Install perl-ExtUtils-MakeMaker perl-ExtUtils-Manifest perl-ExtUtils-Miniperl perl-ExtUtils-ParseXS perl-File-Fetch perl-File-Path perl-Filter perl-Filter-Simple perl-Getopt-Long perl-HTTP-Tiny perl-IO perl-IO-Socket-IP perl-IO-Zlib perl-IPC-Cmd perl-IPC-SysV perl-JSON-PP perl-Locale-Maketext perl-Locale-Maketext-Simple perl-MIME-Base64 perl-Math-BigInt perl-Math-BigInt-FastCalc perl-Math-BigRat perl-Math-Complex perl-Memoize perl-Module-CoreList perl-Module-CoreList-tools perl-Module-Load perl-Module-Load-Conditional perl-Module-Loaded perl-Module-Metadata perl-Net-Ping perl-Params-Check perl-Perl-OSType perl-PerlIO-via-QuotedPrint perl-Pod-Checker perl-Pod-Html perl-Pod-Parser perl-Pod-Perldoc perl-Pod-Usage perl-SelfLoader perl-Storable perl-Sys-Syslog perl-Term-ANSIColor perl-Term-Cap perl-Test perl-Test-Harness perl-Test-Simple perl-Text-Balanced perl-Text-ParseWords perl-Text-Tabs+Wrap perl-Thread-Queue perl-Time-HiRes perl-Time-Local perl-Time-Piece perl-Unicode-Collate perl-Unicode-Normalize perl-autodie perl-bignum perl-constant perl-devel perl-encoding perl-experimental perl-interpreter perl-libnet perl-libnetcfg perl-libs perl-open perl-parent perl-perlfaq perl-podlators perl-utils
読み込んだプラグイン:refresh-packagekit
パッケージ perl-Attribute-Handlersperl-B-Debug は利用できません。
パッケージ perl-CPAN-Meta-Requirements は利用できません。
パッケージ perl-Carp は利用できません。
パッケージ perl-Config-Perl-V は利用できません。
パッケージ perl-DB_File は利用できません。
パッケージ perl-Data-Dumper は利用できません。
パッケージ perl-Devel-PPPort は利用できません。
パッケージ perl-Devel-Peek は利用できません。
パッケージ perl-Devel-SelfStubber は利用できません。
パッケージ perl-Digest は利用できません。
パッケージ perl-Digest-MD5 は利用できません。
パッケージ perl-Encode は利用できません。
パッケージ perl-Encode-devel は利用できません。
パッケージ perl-Env は利用できません。
パッケージ perl-Errno は利用できません。
パッケージ perl-Exporter は利用できません。
パッケージ perl-ExtUtils-Command は利用できません。
パッケージ perl-ExtUtils-Install は利用できません。
パッケージ perl-ExtUtils-Manifest は利用できません。
パッケージ perl-ExtUtils-Miniperl は利用できません。
パッケージ perl-File-Path は利用できません。
パッケージ perl-Filter は利用できません。
パッケージ perl-Filter-Simple は利用できません。
パッケージ perl-Getopt-Long は利用できません。
パッケージ perl-IO は利用できません。
パッケージ perl-IPC-SysV は利用できません。
パッケージ perl-Locale-Maketext は利用できません。
パッケージ perl-MIME-Base64 は利用できません。
パッケージ perl-Math-BigInt は利用できません。
パッケージ perl-Math-BigInt-FastCalc は利用できません。
パッケージ perl-Math-BigRat は利用できません。
パッケージ perl-Math-Complex は利用できません。
パッケージ perl-Memoize は利用できません。
パッケージ perl-Module-CoreList-tools は利用できません。
パッケージ perl-Net-Ping は利用できません。
パッケージ perl-PerlIO-via-QuotedPrint は利用できません。
パッケージ perl-Pod-Checker は利用できません。
パッケージ perl-Pod-Html は利用できません。
パッケージ perl-Pod-Parser は利用できません。
パッケージ perl-Pod-Perldoc は利用できません。
パッケージ perl-Pod-Usage は利用できません。
パッケージ perl-SelfLoader は利用できません。
パッケージ perl-Storable は利用できません。
パッケージ perl-Sys-Syslog は利用できません。
パッケージ perl-Term-ANSIColor は利用できません。
パッケージ perl-Term-Cap は利用できません。
パッケージ perl-Test は利用できません。
パッケージ perl-Text-Balanced は利用できません。
パッケージ perl-Text-ParseWords は利用できません。
パッケージ perl-Text-Tabs+Wrap は利用できません。
パッケージ perl-Thread-Queue は利用できません。
パッケージ perl-Time-HiRes は利用できません。
パッケージ perl-Time-Local は利用できません。
パッケージ perl-Unicode-Collate は利用できません。
パッケージ perl-Unicode-Normalize は利用できません。
パッケージ perl-autodie は利用できません。
パッケージ perl-bignum は利用できません。
パッケージ perl-constant は利用できません。
パッケージ perl-encoding は利用できません。
パッケージ perl-experimental は利用できません。
パッケージ perl-interpreter は利用できません。
パッケージ perl-libnet は利用できません。
パッケージ perl-libnetcfg は利用できません。
パッケージ 4:perl-libs-5.14.3-205.fc16.x86_64 はインストール済みか最新バージョンです
パッケージ perl-open は利用できません。
パッケージ perl-perlfaq は利用できません。
パッケージ perl-podlators は利用できません。
パッケージ perl-utils は利用できません。

$ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec
  • linux/perl.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー