差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| linux:perl [2019/01/17 11:32] – [ソースパッケージのインストール] ともやん | linux:perl [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== perl のビルドとインストール ====== | ====== perl のビルドとインストール ====== | ||
| + | |||
| + | ===== バイナリの入手 ===== | ||
| + | <WRAP prewrap 100%> | ||
| + | < | ||
| + | $ curl -O https:// | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== バイナリパッケージのインストール ===== | ||
| + | <WRAP prewrap 100%> | ||
| + | < | ||
| + | $ 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' | ||
| + | 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. | ||
| + | that you have write access to this location. | ||
| + | |||
| + | Enter top level directory for install? [/ | ||
| + | |||
| + | The ActivePerl documentation is available in HTML format. | ||
| + | it will be available from file:/// | ||
| + | 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 / | ||
| + | Relocating...done (287 files relocated) | ||
| + | Generating HTML documentation...done | ||
| + | Syncing perl PPM database with .packlists...done | ||
| + | |||
| + | ActivePerl has been successfully installed at / | ||
| + | |||
| + | Please modify your startup environment by adding: | ||
| + | |||
| + | / | ||
| + | / | ||
| + | |||
| + | For general questions or comments about ActivePerl, please | ||
| + | contact us at < | ||
| + | |||
| + | Thank you for using ActivePerl! | ||
| + | |||
| + | Do you want to download a free trial of Komodo IDE? [Y/n] n <- n を入力 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | 無理矢理システムの perl を置き換える。 | ||
| + | <WRAP prewrap 100%> | ||
| + | < | ||
| + | $ cd /usr/bin | ||
| + | $ sudo mv perl perl.org | ||
| + | $ sudo ln -s / | ||
| + | $ 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:// | ||
| + | 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 " | ||
| + | Internet, point your browser at http:// | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== 元の perl への戻し方 ===== | ||
| + | < | ||
| + | $ 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 " | ||
| + | Internet, point your browser at http:// | ||
| + | </ | ||
| ===== ソースの入手 ===== | ===== ソースの入手 ===== | ||
| 行 123: | 行 235: | ||
| <WRAP prewrap 100%> | <WRAP prewrap 100%> | ||
| < | < | ||
| + | 読み込んだプラグイン: | ||
| + | パッケージ 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-open は利用できません。 | ||
| + | パッケージ perl-perlfaq は利用できません。 | ||
| + | パッケージ perl-podlators は利用できません。 | ||
| + | パッケージ perl-utils は利用できません。 | ||
| </ | </ | ||
| </ | </ | ||
| 行 135: | 行 316: | ||
| $ sudo yum-builddep ~/ | $ sudo yum-builddep ~/ | ||
| </ | </ | ||
| - | |||