linux:perl

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
linux:perl [2019/01/17 11:31] – [ソースパッケージのインストール] ともやんlinux:perl [2019/01/17 13:03] – [perl 戻し方] ともやん
行 1: 行 1:
 ====== perl のビルドとインストール ====== ====== perl のビルドとインストール ======
  
-===== ソースの入手 =====+===== バイナリの入手 =====
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code> <code>
-$ 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+$ 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
 </code> </code>
 </WRAP> </WRAP>
  
-===== ソースパッケージのインストール =====+===== バイナリパッケージのインストール =====
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code> <code>
-rpm -ivh perl-5.28.1-430.fc30.x86_64.rpm +tar zxvf ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0.tar.gz 
-警告: perl-5.28.1-430.fc30.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID cfc659b9: NOKEY +$ cd ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0 
-エラー: 依存性の欠如: +$ sudo sh install.sh 
- perl(:MODULE_COMPAT_5.28.1) は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +</code> 
- perl-Archive-Tar は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +<code> 
- perl-Attribute-Handlers は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Checking package...done 
- perl-B-Debug は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-CPAN は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Welcome to ActivePerl 
- 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 に必要とされています +    ActivePerl is ActiveState's quality-assured binary build of 
- perl-CPAN-Meta-YAML は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    Perl In order to install ActivePerl you need to agree to 
- perl-Carp は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    the ACTIVESTATE® COMMUNITY EDITION LICENSE AGREEMENT
- 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 に必要とされています +Did you read the LICENSE.txt file? [no] yes <yes を入力して Enter 
- perl-Data-Dumper は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Do you agree to the ACTIVESTATE® COMMUNITY EDITION LICENSE AGREEMENT? [no] yes <yes を入力して Enter 
- perl-Devel-PPPort は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Devel-Peek は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    This installer can install ActivePerl in any location of your 
- perl-Devel-SelfStubber は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    choiceYou do not need root privileges However, please make sure 
- perl-Digest は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    that you have write access to this location
- perl-Digest-MD5 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Digest-SHA は perl-4:5.28.1-430.fc30.x86_64 に必要とされいます +Enter top level directory for install? [/opt/ActivePerl-5.26] <Enter を入力 
- perl-Encode は perl-4:5.28.1-430.fc30.x86_64 に必要とされいます + 
- perl-Encode-devel は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    The ActivePerl documentation is available in HTML format If installed 
- perl-Env は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    it will be available from file:///opt/ActivePerl-5.26/html/index.html
- perl-Errno は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    If not installed you will still be able to read all the basic perl and 
- perl-Exporter は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    module documentation using the man or perldoc utilities
- perl-ExtUtils-CBuilder は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-ExtUtils-Command は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Install HTML documentation [yes] <Enter を入力 
- perl-ExtUtils-Embed は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Ok
- perl-ExtUtils-Install は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-ExtUtils-MakeMaker は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    The typical ActivePerl software installation requires 200 megabytes
- perl-ExtUtils-Manifest は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +    Please make sure enough free space is available before continuing
- perl-ExtUtils-Miniperl は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-ExtUtils-ParseXS は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Proceed? [yes] <Enter を入力 
- perl-File-Fetch は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Ok
- perl-File-Path は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Filter は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Installing ActivePerl... 
- perl-Filter-Simple は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Copying files to /opt/ActivePerl-5.26...done 
- perl-Getopt-Long は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Relocating...done (287 files relocated) 
- perl-HTTP-Tiny は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Generating HTML documentation...done 
- perl-IO は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Syncing perl PPM database with .packlists...done  
- 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 に必要とされています +ActivePerl has been successfully installed at /opt/ActivePerl-5.26
- perl-IPC-Cmd は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-IPC-SysV は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Please modify your startup environment by adding
- perl-JSON-PP は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Locale-Maketext は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +   /opt/ActivePerl-5.26/site/bin:/opt/ActivePerl-5.26/bin to PATH 
- perl-Locale-Maketext-Simple は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +   /opt/ActivePerl-5.26/site/man:/opt/ActivePerl-5.26/man to MANPATH 
- perl-MIME-Base64 は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Math-BigInt は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +For general questions or comments about ActivePerl, please 
- perl-Math-BigInt-FastCalc は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +contact us at <support@activestate.com>
- perl-Math-BigRat は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Math-Complex は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Thank you for using ActivePerl! 
- perl-Memoize は perl-4:5.28.1-430.fc30.x86_64 に必要とされています + 
- perl-Module-CoreList は perl-4:5.28.1-430.fc30.x86_64 に必要とされています +Do you want to download a free trial of Komodo IDE? [Y/n] n <n を入力
- 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 に必要とされています+
 </code> </code>
 </WRAP> </WRAP>
  
 +無理矢理システムの perl を置き換える。
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code> <code>
-$ 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+$ cd /usr/bin 
 +$ sudo mv perl perl.org 
 +$ sudo ln -s /opt/ActivePerl-5.26/bin/perl perl 
 +perl -
 + 
 +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.
 </code> </code>
 </WRAP> </WRAP>
-===== ビルドに必要なパッケージインストール =====+ 
 +===== の perl への戻し方 =====
 <code> <code>
-$ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec+$ cd /usr/bin 
 +$ sudo rm perl 
 +$ sudo mv perl.org perl 
 +$ perl -
 + 
 +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.
 </code> </code>
  
  • linux/perl.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー