linux:perl

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:perl [2019/01/17 11:32] – [ソースパッケージのインストール] ともやんlinux:perl [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 1: 行 1:
 ====== perl のビルドとインストール ====== ====== perl のビルドとインストール ======
 +
 +===== バイナリの入手 =====
 +<WRAP prewrap 100%>
 +<code>
 +$ 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>
 +</WRAP>
 +
 +===== バイナリパッケージのインストール =====
 +<WRAP prewrap 100%>
 +<code>
 +$ 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
 +</code>
 +<code>
 +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 を入力
 +</code>
 +</WRAP>
 +
 +無理矢理システムの perl を置き換える。
 +<WRAP prewrap 100%>
 +<code>
 +$ 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.
 +</code>
 +</WRAP>
 +
 +===== 元の perl への戻し方 =====
 +<code>
 +$ 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.
 +</code>
  
 ===== ソースの入手 ===== ===== ソースの入手 =====
行 123: 行 235:
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code> <code>
 +読み込んだプラグイン: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 は利用できません。
 </code> </code>
 </WRAP> </WRAP>
行 135: 行 316:
 $ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec $ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec
 </code> </code>
- 
  • linux/perl.1547692349.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)