linux:perl

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:perl [2019/01/17 11:59] – [ソースの入手] ともやんlinux:perl [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 1: 行 1:
 ====== perl のビルドとインストール ====== ====== perl のビルドとインストール ======
  
-===== ソースの入手 =====+===== バイナリの入手 =====
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code> <code>
-$ curl -O -k https://www.activestate.com/products/activeperl/downloads/thank-you/?dl=https://downloads.activestate.com/ActivePerl/releases/5.26.3.2603/ActivePerl-5.26.3.2603-x86_64-linux-glibc-2.15-a701e55e0.tar.gz+$ 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>
-※-k オプションで SSL サトへ接続許可ないと以下エラーになる。+</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> 
 + 
 +===== ソースの入手 ===== 
 +<WRAP prewrap 100%>
 <code> <code>
-curl: (60) Peer certificate cannot be authenticated with given CA certificates+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
 </code> </code>
 </WRAP> </WRAP>
行 208: 行 316:
 $ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec $ sudo yum-builddep ~/rpmbuild/SPECS/perl.spec
 </code> </code>
- 
  • linux/perl.1547693992.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)