Perl 模块包(也称为发行版,因为每个包可以包含多个模块)为 Perl 语言添加了有用的对象。本页列出的包是本书中其他包所必需或推荐的。如果它们有依赖模块,则这些依赖模块要么在本页,要么在下一页(Perl 模块依赖)。
在许多情况下,仅列出必需或推荐的依赖项——可能还有其他模块允许运行更多测试,但省略它们仍能使测试结果为 PASS。
对于少数模块,BLFS 编辑确定其他仍列为先决条件的模块并非必需,因此将其省略。
如果同一模块的按字母顺序较早的依赖项引入了某个依赖项,则对于该模块的较晚依赖项不再重复提及。您应按所列顺序构建依赖项。
通常值得运行 perl 模块的测试,它们常常能显示诸如缺少使用该模块所需的依赖项之类的问题。在此,编辑已尝试区分那些仅用于运行测试套件的依赖项,但如果某个模块的依赖项在其自己的测试套件中使用了该模块,则不会为该模块提及这些依赖项。也就是说,如果您打算运行测试套件,请为模块的每个依赖项都运行测试。
可以使用 CPAN 自动安装模块的当前版本以及上游推荐的所有缺失或过旧的依赖项。请参见本页末尾的 CPAN 自动安装 Perl 模块。
这些模块中的大多数仅将文件安装到 /usr/lib/perl5/site_perl/5.xx.y
目录下,这些文件将不予文档记录。有一两个模块会将程序(主要是 perl 脚本)或库安装到 /usr/bin/ 或 /usr/lib/ 中,这些会被文档记录。
编辑者注释:https://wiki.linuxfromscratch.org/blfs/wiki/perl-modules
The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.68.tar.gz
MD5 校验和:a33993309322164867c99e04a4000ee3
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
This module allows you disable autovivification (the automatic creation and population of new arrays and hashes whenever undefined variables are dereferenced), and optionally throw a warning or an error when it would have occurred.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/V/VP/VPIT/autovivification-0.18.tar.gz
MD5 校验和:8dec994e1e7d368e055f21a5777385a0
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The Business::ISBN module provides functions for working with International Standard Book Numbers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/B/BR/BRIANDFOY/Business-ISBN-3.014.tar.gz
MD5 校验和:d20dedcc798a253223bcfcba2058689e
A harmless warning may be output during the creation of the Makefile regarding the ExtUtils::MakeMaker module. This can be safely ignored.
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The Business::ISMN module provides functions for working with International Standard Music Numbers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/B/BR/BRIANDFOY/Business-ISMN-1.205.tar.gz
MD5 校验和:b35f42bdaeb2fd797c51bb0821ffc906
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The Business::ISSN module provides functions for working with International Standard Serial Numbers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/B/BR/BRIANDFOY/Business-ISSN-1.008.tar.gz
MD5 校验和:967e79eff741c8710d70c64fb593eda1
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Class::Accessor generates accessors/mutators for your class.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/K/KA/KASEI/Class-Accessor-0.51.tar.gz
MD5 校验和:1f1e5990f87cad7659b292fed7dc0407
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The Data::Compare module compares two perl data structures.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-1.29.tar.gz
MD5 校验和:ce9cb42ba6af634f5ab51f13f37e2ddb
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Data::Dump provides pretty printing of data structures.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/G/GA/GARU/Data-Dump-1.25.tar.gz
MD5 校验和:9bd7131ef0441e1e0e001bf85e9fae31
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Data::Uniqid provides three simple routines for generating unique IDs.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/M/MW/MWX/Data-Uniqid-0.12.tar.gz
MD5 校验和:6bab3b5da09fedfdf60ce2629a7367db
Although the final test fails and reports an Error, the test suite returns a status of 0. The error can safely be ignored.
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
DateTime::Calendar::Julian implements the Julian Calendar.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/W/WY/WYANT/DateTime-Calendar-Julian-0.108.tar.gz
MD5 校验和:e68a782ba204b3935a1cfec81408f6fd
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
DateTime::Format::Builder creates DateTime parser classes and objects.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.83.tar.gz
MD5 校验和:aa41917ca9ad69b3898728ce9c2fb477
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Encode::EUCJPASCII provides an eucJP-open (Extended Unix Code, Japanese) mapping.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-0.03.tar.gz
MD5 校验和:5daa65f55b7c2050bb0713d9e95f239d
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The Encode::HanExtra module provides extra sets of Chinese Encodings which are not included in the core Encode module because of size issues.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz
MD5 校验和:e1d3bc32c1c8ee304235a06fbcd5d5a4
This module uses the 'unsafe' build and installation instructions
(In perl-5.26.0 the use of the
current directory in @INC was
removed for security reasons and this module has not been
updated) :
PERL_USE_UNSAFE_INC=1 perl Makefile.PL && make && make test
Now, as the root user:
make install
The Encode::JIS2K module provides JIS X 0212 (aka JIS 2000) Encodings.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-JIS2K-0.05.tar.gz
MD5 校验和:06acd9e878d41ffc354258e265db2875
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
File::FcntlLock is a module to do file locking in an object
oriented fashion using the fcntl(2) system call.
This allows locks on parts of a file as well as on the whole file
and overcomes some known problems with flock(2), on which
which Perl's flock() function is
based per default.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/J/JT/JTT/File-FcntlLock-0.22.tar.gz
MD5 校验和:579698d735d864ee403674f1175f789d
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
File::Slurper is a simple, sane and efficient module to slurp a file.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/L/LE/LEONT/File-Slurper-0.014.tar.gz
MD5 校验和:d43bc5f069035eff3b6b7c418b4cedc4
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
File::Which provides a portable implementation of the 'which' utility.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/P/PL/PLICEASE/File-Which-1.27.tar.gz
MD5 校验和:d5c9154262b93398f0750ec364207639
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The HTML::Parser distribution is a collection of modules that parse and extract information from HTML documents.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/O/OA/OALDERS/HTML-Parser-3.85.tar.gz
MD5 校验和:400384681da1452493d36f036d9f387b
HTML-Tagset-3.24 and HTTP-Message-7.02 (strictly speaking, not required for building, but its module HTTP::Headers is required for tests and a run-time requirement for HTML::HeadParser from this distribution).
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a socket for incoming requests. The HTTP::Daemon is a subclass of IO::Socket::INET, so you can perform socket operations directly on it too.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.17.tar.gz
MD5 校验和:14f98fd61159ec4740a21781b787944e
This module is built using Build.PL:
perl Build.PL && ./Build && ./Build test
Now, as the root user:
./Build install
IO::Socket::SSL makes using SSL/TLS much easier by wrapping the necessary functionality into the familiar IO::Socket interface and providing secure defaults whenever possible.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.099.tar.gz
MD5 校验和:3b5e1886ae3204b8f8d354e333a047eb
make-ca-1.16.1 and Net-SSLeay-1.96
URI-5.35 (to access international domain names)
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
This module uses a variant of the standard build and installation instructions:
yes | perl Makefile.PL && make && make test
Now, as the root user:
make install
yes: Perl will ask if you wish to run external tests, which will 'fail soft' if there are network problems. The default is 'y', which will allow you to script the build.
IO::String - Emulate file interface for in-core strings.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/G/GA/GAAS/IO-String-1.08.tar.gz
MD5 校验和:250e5424f290299fc3d6b5d1e9da3835
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
IPC::Run3 is used to run a subprocess with input/output redirection.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-0.049.tar.gz
MD5 校验和:569393ca56dfb78dedd79e93c0439159
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Lingua::Translit and its translit program transliterate text between writing systems.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/A/AL/ALINKE/Lingua-Translit-0.29.tar.gz
MD5 校验和:605a82f06b05fef4fc18bf069b1be511
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The libwww-perl collection is a set of Perl modules which provides a simple and consistent application programming interface (API) to the World-Wide Web. The main focus of the library is to provide classes and functions that allow you to write WWW clients. The library also contains modules that are of more general use and even classes that help you implement simple HTTP servers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.83.tar.gz
MD5 校验和:dfca8f917f4727ddbdf3d81d0979172f
File-Listing-6.16, HTTP-CookieJar-0.014, HTTP-Cookies-6.11, HTTP-Daemon-6.17, HTTP-Negotiate-6.01, HTML-Parser-3.85, Net-HTTP-6.24, Try-Tiny-0.32 and WWW-RobotRules-6.03
Test-Fatal-0.018, Test-Needs-0.002010 and Test-RequiresInternet-0.05
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
After installing this package, if you want HTTPS protocol support install LWP-Protocol-https-6.15.
The List::Allutils module combines List::Util and List::MoreUtils in one bite-sized package.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-0.19.tar.gz
MD5 校验和:86469b1f6819ba181a8471eb932965f2
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
List::MoreUtils provides the stuff missing in List::Util.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-0.430.tar.gz
MD5 校验和:daccd6310021231b827dcc943ff1c6b7
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Log::Log4perl provides a Log4j implementation for perl.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/E/ET/ETJ/Log-Log4perl-1.57.tar.gz
MD5 校验和:acbe29cbaf03f4478a13579a275b0011
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
LWP::Protocol::https provides https support for LWP::UserAgent (i.e. libwww-perl-6.83). Once the module is installed LWP is able to access sites using HTTP over SSL/TLS.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.15.tar.gz
MD5 校验和:c92eb7bffeb73cf3726193ea69f6792e
IO-Socket-SSL-2.099, libwww-perl-6.83, and make-ca-1.16.1 with /etc/pki/tls/certs/ca-bundle.crt.
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Module::Build allows perl modules to be built without a make command being present.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4234.tar.gz
MD5 校验和:0032d0c0bc36a3b68ef41c947829d5e3
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Note that this module can also be built using Build.PL
Net::DNS is a DNS resolver implemented in Perl. It can be used to perform nearly any type of DNS query from a Perl script.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-1.55.tar.gz
MD5 校验和:0d7c7a34da4514722bb936a803552c57
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Parse::RecDescent incrementally generates top-down recursive-descent text parsers from simple yacc-like grammar specifications.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/J/JT/JTBRAUN/Parse-RecDescent-1.967015.tar.gz
MD5 校验和:7a36d45d62a9b68603edcdbd276006cc
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Parse::Yapp is a Perl extension for generating and using LALR parsers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz
MD5 校验和:69584d5b0f0304bb2a23cffcd982c5de
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
PerlIO::utf8_strict provides a fast and correct UTF-8 PerlIO layer. Unlike Perl's default :utf8 layer it checks the input for correctness.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-0.010.tar.gz
MD5 校验和:d90ca967f66e05ad9221c79060868346
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Regexp::Common provides commonly requested regular expressions.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2024080801.tar.gz
MD5 校验和:73d4b4b2a0690f9ab573d54a69c22aee
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The SGMLSpm module is a Perl library used for parsing the output from James Clark's SGMLS and NSGMLS parsers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
MD5 校验和:746c74ae969992cedb1a2879b4168090
Before beginning the build, issue the following command to prevent an error:
chmod -v 644 MYMETA.yml
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
After the package has been installed, run the following command
as the root user:
ln -sv sgmlspl.pl /usr/bin/sgmlspl
|
is an SGML processor |
|
|
is a symbolic link used during the install of DocBook-utils-0.6.14 |
Sort::Key provides a set of functions to sort lists of values by some calculated key value.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/S/SA/SALVA/Sort-Key-1.33.tar.gz
MD5 校验和:a37ab0da0cfdc26e57b4c79e39f6d98f
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Test::Command tests the exit status, STDOUT, or STDERR, of an external command.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DA/DANBOO/Test-Command-0.11.tar.gz
MD5 校验和:9ab83c4695961dbe92cd86efe08f0634
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Test::Differences tests strings and data structures and shows the differences if they do not match.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-0.72.tar.gz
MD5 校验和:348ac35809a53290ac05cf0f18f673fa
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Text::BibTeX provides an interface to read and parse BibTeX files.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/A/AM/AMBS/Text-BibTeX-0.91.tar.gz
MD5 校验和:437862f801cfb7598dff52aa4ff7d888
This module is built using Build.PL:
perl Build.PL && ./Build && ./Build test
Now, as the root user:
./Build install
|
performs lexical analysis on a BibTeX file |
|
|
parses a series of BibTeX files with command line options to control the string post-processing behavior |
|
|
parses a BibTeX file, splitting 'author' and 'editor' fields into lists of names, and then dumps everything to stdout |
|
|
is a library for parsing and processing BibTeX data files |
Text::CSV is a comma-separated values manipulator, using XS (eXternal Subroutine - for subroutines written in C or C++) or pure perl.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/I/IS/ISHIGAKI/Text-CSV-2.06.tar.gz
MD5 校验和:620284340dfd1787c89666d22adfd463
Text-CSV_XS-1.62 (required by biber-2.21)
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Text::Roman allows conversion between Roman and Arabic algorisms (number systems, e.g. MCMXLV and 1945).
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/S/SY/SYP/Text-Roman-3.5.tar.gz
MD5 校验和:1f6b09c0cc1f4425b565ff787a39fd83
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Unicode::Collate provides a Unicode collation algorithm.
This is a core module. If you are using perl-5.28.0 or later, its version is good enough for biber-2.21 and you do not need to reinstall this module.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-1.31.tar.gz
MD5 校验和:ee4d960d057c5e5b02ebb49d0286db8f
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
Unicode::LineBreak provides a UAX #14 Unicode Line Breaking Algorithm.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-2019.001.tar.gz
MD5 校验和:003d6da7a13700e069afed9238c864b9
MIME-Charset-1.013.1 and Wget-1.25.0 (to download two files from unicode.org in the test suite)
libthai (to break Thai words into segments)
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
This module implements the URI class. Objects of this class represent "Uniform Resource Identifier references" as specified in RFC 2396 (and updated by RFC 2732). A Uniform Resource Identifier is a compact string of characters that identifies an abstract or physical resource. A Uniform Resource Identifier can be further classified as either a Uniform Resource Locator (URL) or a Uniform Resource Name (URN). The distinction between URL and URN does not matter to the URI class interface. A "URI-reference" is a URI that may have additional information attached in the form of a fragment identifier.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/O/OA/OALDERS/URI-5.35.tar.gz
MD5 校验和:77df061af47e25e3c53d18bd2d562ad8
Test-Fatal-0.018, Test-Needs-0.002010, and Test-Warnings-0.038
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The XML::LibXML::Simple module is a rewrite of XML::Simple to use the XML::LibXML parser for XML structures, instead of the plain Perl or SAX parsers.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-1.01.tar.gz
MD5 校验和:faad5ed26cd83998f6514be199c56c38
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
XML-LibXSLT provides an interface to libxslt-1.1.45
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-2.003000.tar.gz
MD5 校验和:632dce587b3c405edd4e622364750191
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
The XML::Parser module is a Perl interface to James Clark's XML parser. It is built on top of XML::Parser::Expat, which is a lower level interface to the expat library. Each call to one of the parsing methods creates a new instance of XML::Parser::Expat which is then used to parse the document.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.59.tar.gz
MD5 校验和:f483e6b8541d60a84e4bf50803e476bc
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
XML::Simple provides an easy API to read and write XML (especially config files). It is deprecated and its use is discouraged.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-2.25.tar.gz
MD5 校验和:bb841dce889a26c89a1c2739970e9fbc
XML-SAX-1.02 (for an alternative parser which will be used if available)
During the configuration process, the build system will complain about missing the XML::SAX::Expat module. If XML::SAX is installed, this module is not necessary as XML::SAX will use the libxml2 package instead. However, if it is not installed, XML-Parser-2.59 will get used instead.
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
XML::Writer provides a Perl extension for writing XML documents.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-0.900.tar.gz
MD5 校验和:2457214360cefda445742a608dd6195e
This module uses the standard build and installation instructions:
perl Makefile.PL && make && make test
Now, as the root user:
make install
还有一种安装模块的替代方法,即使用 cpan shell 的 install 命令。该命令会自动从 CPAN 档案库下载模块的最新源码,以及上游列出的所有缺失的依赖模块。然后对每个模块进行解包、编译、测试并安装。
在运行自动化安装方法之前,你仍然需要安装所有非 Perl 依赖项。安装后你可能希望清理 build/ 目录以释放空间。如果提到任何安装后操作(如创建符号链接),你也应该执行这些操作。
首次运行 cpan
时,系统会提示你输入一些关于下载位置和方式的信息。这些信息会保存在 ~/.cpan 目录下的文件中。
特别地,你可能希望将其配置为使用 Sudo-1.9.17p2 进行安装,以便以普通用户身份构建和测试。以下示例未采用这种方式。
以 root 用户身份执行 'cpan' 命令启动 cpan shell。现在可以在 cpan>
提示符下使用以下命令安装任意模块:
install <Module::Name>
如需其他命令和帮助,请在 cpan> 提示符下执行 'help'。
另外,对于脚本化或非交互式安装,可以以 root
用户身份使用以下语法安装一个或多个模块:
cpan -i <Module1::Name> <Module2::Name>
查看 cpan.1 手册页,了解可在命令行中传递给
cpan 的其他参数。