source: general/prog/perl-modules.xml@ ff769b8c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ff769b8c was ff769b8c, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated the XML sources to use DocBook XML DTD-4.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3656 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.3 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[23460a6]6
7 <!ENTITY perl_modules_md5sums_download_http "http://anduin.linuxfromscratch.org/sources/BLFS/SVN/M-P/Perl_Modules/Perl_Modules.gz.md5sums">
8 <!ENTITY perl_modules_md5sums_download_ftp "ftp://anduin.linuxfromscratch.org/BLFS/SVN/M-P/Perl_Modules/Perl_Modules.gz.md5sums">
[52d29f7]9]>
10
[24a37fa7]11<sect1 id="perl-modules" xreflabel="Perl modules">
[71398d29]12<sect1info>
[5cd0959d]13<othername>$LastChangedBy$</othername>
14<date>$Date$</date>
[71398d29]15</sect1info>
[19aa75a]16<?dbhtml filename="perl-modules.html" ?>
[bd23186f]17<title><application>Perl</application> modules</title>
[7fc4452]18<indexterm zone="perl-modules">
19<primary sortas="a-Perl-modules">Perl modules</primary></indexterm>
[3d60760]20
[52d29f7]21<sect2>
22<title>Introduction to <application>Perl</application> modules</title>
23
[30e1539]24<para>The <application>Perl</application> module packages add useful objects
25to the <application>Perl</application> language. Modules utilized by packages
26throughout <acronym>BLFS</acronym> are listed here, along with their
[bd23186f]27dependencies. Most references to <application>Perl</application> modules are
28in the form of Module, Module::SubName or Module::Sub::Name, however
29occasionally you'll also see Module, Module-SubName or Module-Sub-Name. Most
30references on this page are in the latter form, as these are the official
31package names.</para>
32
[23460a6]33<itemizedlist><listitem><para>Download MD5 sums (HTTP):
34<ulink url="&perl_modules_md5sums_download_http;"/></para></listitem>
35<listitem><para>Download MD5 sums (FTP):
36<ulink url="&perl_modules_md5sums_download_ftp;"/></para></listitem>
37</itemizedlist>
38
[7fc4452]39<sect3 id="perl-module-info"><title>The Module::Info module</title>
40<indexterm zone="perl-modules perl-module-info">
41<primary sortas="g-Module-Info">Module::Info</primary></indexterm>
42
[bd23186f]43<para>One module in particular is shown first, as this module's usefulness
44warrants installation, even though it won't be required by many other modules.
45The Module::Info module can tell you if a particular module is included in,
46or has been installed into your <application>Perl</application> installation.
47Additionally, the module can tell you what versions are installed and what
48dependencies are required for them. You can even use Module::Info to gather
49dependencies of uninstalled modules.</para>
[cebbbb5]50
[30e1539]51<itemizedlist spacing='compact'>
52<listitem><para><ulink
[62c964d]53url="http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
54Module-Info-&Module-Info-version;</ulink></para>
55</listitem></itemizedlist>
[bd23186f]56</sect3>
[cebbbb5]57
[bd23186f]58<sect3><title><application>Perl</application> Module Packages</title>
[52d29f7]59
[7fc4452]60<itemizedlist><listitem><para id="perl-gtk-perl"><ulink
[bd23186f]61url="http://www.cpan.org/authors/id/M/ML/MLEHMANN/Gtk-Perl-&Gtk-Perl-version;.tar.gz">
62Gtk-Perl-&Gtk-Perl-version;</ulink></para>
[7fc4452]63<indexterm zone="perl-modules perl-gtk-perl">
64<primary sortas="g-Gtk-Perl">Gtk::Perl</primary></indexterm>
[52d29f7]65
[7fc4452]66<itemizedlist spacing='compact'><listitem><para id="perl-xml-writer"><ulink
[bd23186f]67url="http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;.tar.gz">
68XML-Writer-&XML-Writer-version;</ulink></para>
[7fc4452]69<indexterm zone="perl-modules perl-xml-writer">
70<primary sortas="g-XML-Writer">XML::Writer</primary></indexterm>
[bd23186f]71</listitem>
[52d29f7]72
[7fc4452]73<listitem><para id="perl-xml-parser"><ulink
[bd23186f]74url="http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
75XML-Parser-&XML-Parser-version;</ulink></para>
[7fc4452]76<indexterm zone="perl-modules perl-xml-parser">
77<primary sortas="g-XML-Parser">XML::Parser</primary></indexterm>
[cf3ab518]78
[bd23186f]79<itemizedlist spacing='compact'><listitem>
80<para><xref linkend="expat"/></para>
81</listitem></itemizedlist>
82</listitem>
[71398d29]83
[bd23186f]84<listitem>
85<para><xref linkend="GTK"/></para>
86</listitem></itemizedlist>
[30e1539]87</listitem>
[52d29f7]88
[7fc4452]89<listitem><para id="perl-sgmlspm"><ulink
[bd23186f]90url="http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
91SGMLSpm-&SGMLSpm-version;</ulink></para>
[7fc4452]92<indexterm zone="perl-modules perl-sgmlspm">
93<primary sortas="g-SGMLSpm">SGMLSpm</primary></indexterm>
[bd23186f]94</listitem>
[6a0d7b2]95
[7fc4452]96<listitem><para id="perl-perl-tk"><ulink
[bd23186f]97url="http://www.cpan.org/authors/id/N/NI/NI-S/Tk-&Perl-Tk-version;.tar.gz">
98Tk-&Perl-Tk-version;</ulink></para>
[7fc4452]99<indexterm zone="perl-modules perl-perl-tk">
100<primary sortas="g-Perl-Tk">Perl::Tk</primary></indexterm>
[6a0d7b2]101
[bd23186f]102<itemizedlist spacing='compact'><listitem>
103<para><xref linkend="tk"/> and <xref linkend="libjpeg"/></para>
104</listitem></itemizedlist>
105</listitem>
[30e1539]106
[7fc4452]107<listitem><para id="perl-net-dns"><ulink
[bd23186f]108url="http://www.cpan.org/authors/id/C/CR/CREIN/Net-DNS-&Net-DNS-version;.tar.gz">
109Net-DNS-&Net-DNS-version;</ulink></para>
[7fc4452]110<indexterm zone="perl-modules perl-net-dns">
111<primary sortas="g-Net-DNS">Net::DNS</primary></indexterm>
[30e1539]112
[7fc4452]113<itemizedlist spacing='compact'><listitem><para id="perl-digest-hmac"><ulink
[bd23186f]114url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-&Digest-HMAC-version;.tar.gz">
115Digest-HMAC-&Digest-HMAC-version;</ulink></para>
[7fc4452]116<indexterm zone="perl-modules perl-digest-hmac">
117<primary sortas="g-Digest-HMAC">Digest::HMAC</primary></indexterm>
[30e1539]118
[7fc4452]119<itemizedlist spacing='compact'><listitem><para id="perl-digest-sha1"><ulink
[bd23186f]120url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-&Digest-SHA1-version;.tar.gz">
121Digest-SHA1-&Digest-SHA1-version;</ulink></para>
[7fc4452]122<indexterm zone="perl-modules perl-digest-sha1">
123<primary sortas="g-Digest-SHA1">Digest::SHA1</primary></indexterm>
[bd23186f]124</listitem></itemizedlist>
[30e1539]125</listitem></itemizedlist>
[62c964d]126</listitem>
127
[7fc4452]128<listitem><para id="perl-lwp"><ulink
[62c964d]129url="http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">
130LWP-&LWP-version;</ulink></para>
[7fc4452]131<indexterm zone="perl-modules perl-lwp">
132<primary sortas="g-LWP">LWP</primary></indexterm>
[62c964d]133
[7fc4452]134<itemizedlist spacing='compact'><listitem><para id="perl-uri"><ulink
[62c964d]135url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">
136URI-&URI-version;</ulink></para>
[7fc4452]137<indexterm zone="perl-modules perl-uri">
138<primary sortas="g-URI">URI</primary></indexterm>
[62c964d]139
[7fc4452]140<itemizedlist spacing='compact'><listitem><para id="perl-business-isbn"><ulink
[62c964d]141url="http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-&Business-ISBN-version;.tar.gz">
142Business-ISBN-&Business-ISBN-version;</ulink> (Only used during the test
143suite)</para>
[7fc4452]144<indexterm zone="perl-modules perl-business-isbn">
145<primary sortas="g-Business-ISBN">Business::ISBN</primary></indexterm>
[62c964d]146
[7fc4452]147<itemizedlist spacing='compact'><listitem><para id="perl-business-isbn-data"><ulink
[62c964d]148url="http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-&Business-ISBN-Data-version;.tar.gz">
149Business-ISBN-Data-&Business-ISBN-Data-version;</ulink></para>
[7fc4452]150<indexterm zone="perl-modules perl-business-isbn-data">
151<primary sortas="g-Business-ISBN-Data">Business::ISBN::Data</primary></indexterm>
[62c964d]152
[7fc4452]153<itemizedlist spacing='compact'><listitem><para id="perl-test-pod"><ulink
[62c964d]154url="http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-&Test-Pod-version;.tar.gz">
155Test-Pod-&Test-Pod-version;</ulink></para>
[7fc4452]156<indexterm zone="perl-modules perl-test-pod">
157<primary sortas="g-Test-Pod">Test::Pod</primary></indexterm>
[62c964d]158
[7fc4452]159<itemizedlist spacing='compact'><listitem><para id="perl-pod-simple"><ulink
[62c964d]160url="http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Simple-&Pod-Simple-version;.tar.gz">
161Pod-Simple-&Pod-Simple-version;</ulink></para>
[7fc4452]162<indexterm zone="perl-modules perl-pod-simple">
163<primary sortas="g-Pod-Simple">Pod::Simple</primary></indexterm>
[62c964d]164
[7fc4452]165<itemizedlist spacing='compact'><listitem><para id="perl-pod-escapes"><ulink
[62c964d]166url="http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Escapes-&Pod-Escapes-version;.tar.gz">
167Pod-Escapes-&Pod-Escapes-version;</ulink></para>
[7fc4452]168<indexterm zone="perl-modules perl-pod-escapes">
169<primary sortas="g-Pod-Escapes">Pod::Escapes</primary></indexterm>
[62c964d]170</listitem></itemizedlist>
171</listitem>
172
[7fc4452]173<listitem><para id="perl-test-builder-tester"><ulink
[62c964d]174url="http://www.cpan.org/authors/id/M/MA/MARKF/Test-Builder-Tester-&Test-Builder-Tester-version;.tar.gz">
175Test-Builder-Tester-&Test-Builder-Tester-version;</ulink></para>
[7fc4452]176<indexterm zone="perl-modules perl-test-builder-tester">
177<primary sortas="g-Test-Builder-Tester">Test::Builder::Tester</primary></indexterm>
[62c964d]178</listitem></itemizedlist>
179</listitem>
180
[7fc4452]181<listitem><para id="perl-test-prereq"><ulink
[62c964d]182url="http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-&Test-Prereq-version;.tar.gz">
183Test-Prereq-&Test-Prereq-version;</ulink></para>
[7fc4452]184<indexterm zone="perl-modules perl-test-prereq">
185<primary sortas="g-Test-Prereq">Test::Prereq</primary></indexterm>
[62c964d]186
187<itemizedlist spacing='compact'><listitem><para><ulink
188url="http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
189Module-Info-&Module-Info-version;</ulink></para>
190</listitem>
191
[7fc4452]192<listitem><para id="perl-module-corelist"><ulink
[62c964d]193url="http://www.cpan.org/authors/id/R/RC/RCLAMP/Module-CoreList-&Module-Corelist-version;.tar.gz">
194Module-CoreList-&Module-Corelist-version;</ulink></para>
[7fc4452]195<indexterm zone="perl-modules perl-module-corelist">
196<primary sortas="g-Module-Corelist">Module::Corelist</primary></indexterm>
[62c964d]197</listitem></itemizedlist>
198</listitem></itemizedlist>
199</listitem></itemizedlist>
200</listitem></itemizedlist>
201</listitem>
202
[7fc4452]203<listitem><para id="perl-html-parser"><ulink
[62c964d]204url="http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">
205HTML-Parser-&HTML-Parser-version;</ulink></para>
[7fc4452]206<indexterm zone="perl-modules perl-html-parser">
207<primary sortas="g-HTML-Parser">HTML::Parser</primary></indexterm>
[62c964d]208
[7fc4452]209<itemizedlist spacing='compact'><listitem><para id="perl-html-tagset"><ulink
[62c964d]210url="http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tagset-&HTML-Tagset-version;.tar.gz">
211HTML-Tagset-&HTML-Tagset-version;</ulink></para>
[7fc4452]212<indexterm zone="perl-modules perl-html-tagset">
213<primary sortas="g-HTML-Tagset">HTML::Tagset</primary></indexterm>
[62c964d]214</listitem></itemizedlist>
215</listitem>
216
[7fc4452]217<listitem><para id="perl-compress-zlib"><ulink
[62c964d]218url="http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Zlib-&Compress-Zlib-version;.tar.gz">
219Compress-Zlib-&Compress-Zlib-version;</ulink></para>
[7fc4452]220<indexterm zone="perl-modules perl-compress-zlib">
221<primary sortas="g-Compress-Zlib">Compress::Zlib</primary></indexterm>
[62c964d]222</listitem>
223
[7fc4452]224<listitem><para id="perl-crypt-ssleay"><ulink
[62c964d]225url="http://www.cpan.org/authors/id/C/CH/CHAMAS/Crypt-SSLeay-&Crypt-SSLeay-version;.tar.gz">
226Crypt-SSLeay-&Crypt-SSLeay-version;</ulink></para>
[7fc4452]227<indexterm zone="perl-modules perl-crypt-ssleay">
228<primary sortas="g-Crypt-SSLeay">Crypt::SSLeay</primary></indexterm>
[62c964d]229</listitem></itemizedlist>
230</listitem>
231
[7fc4452]232<listitem><para id="perl-datemanip"><ulink
[62c964d]233url="http://www.cpan.org/authors/id/S/SB/SBECK/DateManip-&DateManip-version;.tar.gz">
234DateManip-&DateManip-version;</ulink></para>
[7fc4452]235<indexterm zone="perl-modules perl-datemanip">
236<primary sortas="g-DateManip">DateManip</primary></indexterm>
[62c964d]237</listitem>
238
[7fc4452]239<listitem><para id="perl-finance-quote"><ulink
[62c964d]240url="http://www.cpan.org/authors/id/P/PJ/PJF/Finance-Quote-&Finance-Quote-version;.tar.gz">
241Finance-Quote-&Finance-Quote-version;</ulink></para>
[7fc4452]242<indexterm zone="perl-modules perl-finance-quote">
243<primary sortas="g-Finance-Quote">Finance::Quote</primary></indexterm>
[62c964d]244
[7fc4452]245<itemizedlist spacing='compact'><listitem><para id="perl-html-tableextract"><ulink
[62c964d]246url="http://www.cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
247HTML-TableExtract-&HTML-TableExtract-version;</ulink></para>
[7fc4452]248<indexterm zone="perl-modules perl-html-tableextract">
249<primary sortas="g-HTML-TableExtract">HTML::TableExtract</primary></indexterm>
[62c964d]250</listitem></itemizedlist>
[6a0d7b2]251</listitem></itemizedlist>
[52d29f7]252</sect3>
253
254</sect2>
255
256<sect2>
257<title>Installation of <application>Perl</application> modules</title>
[62c964d]258
[52d29f7]259<para>Install <application>Perl</application> modules by running the following
260commands:</para>
[62c964d]261
[52d29f7]262<screen><userinput><command>perl Makefile.PL &amp;&amp;
263make &amp;&amp;
[7fc4452]264make test</command></userinput></screen>
265
266<para>Now, as the root user:</para>
267
268<screen><userinput role='root'><command>make install</command></userinput></screen>
[62c964d]269
[e6f8f78]270<para>The modules listed below require modifications to the instructions in
271order to install successfully.</para>
[62c964d]272
[bd23186f]273<sect3><title>Gtk-Perl-&Gtk-Perl-version;:</title>
[52d29f7]274<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
275make &amp;&amp;
[7fc4452]276make test</command></userinput></screen>
277
278<para>Now, as the root user:</para>
279
280<screen><userinput role='root'><command>make install</command></userinput></screen>
[bd23186f]281</sect3>
[62c964d]282
[bd23186f]283<sect3><title>SGMLSpm-&SGMLSpm-version;</title>
[62c964d]284
[0a830a12]285<para>If your system's <application>Perl</application> version is different
286than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
287command below to reflect the version you have installed.</para>
[e6f8f78]288
289<screen><userinput><command>sed -i -e "s@/usr/local/bin@/usr/bin@" \
[0a830a12]290 -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
[e6f8f78]291 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
[7fc4452]292 Makefile</command></userinput></screen>
293
294<para>Now, as the root user:</para>
295
296<screen><userinput role='root'><command>make install &amp;&amp;
297install -v -d -m755 /usr/share/doc/perl5 &amp;&amp;
[e6f8f78]298make install_html &amp;&amp;
[7fc4452]299rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
300install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</command></userinput></screen>
[e6f8f78]301</sect3>
[62c964d]302
[52d29f7]303</sect2>
304
305<sect2><title>(Alternate) Auto installation of <application>Perl</application>
306modules.</title>
[bd23186f]307
308<para>There is an alternate way of installing the modules using
309<application>Perl</application>'s built-in <command>install</command> command.
[cebbbb5]310The command automatically downloads the source from the <acronym>CPAN</acronym>
[bd23186f]311archive, extracts it, runs the commands mentioned above, and removes the build
312tree. You may still need to install dependent library packages before running
313the automated installation method.</para>
[62c964d]314
[bd23186f]315<para>The first time you run this command, you'll be prompted to enter some
316information regarding download locations and methods. This information is
317retained in files located in <filename class='directory'>~/.cpan</filename>.
[7fc4452]318Start the perl shell with the following command as the root user:</para>
[62c964d]319
[7fc4452]320<screen><userinput role='root'><command>perl -MCPAN -e shell</command></userinput></screen>
[62c964d]321
322<para>Each module may now be installed from this shell with the command:</para>
323
[7fc4452]324<screen><userinput role='root'><command>install <replaceable>[Module::Name]</replaceable></command></userinput></screen>
[62c964d]325
[52d29f7]326<para>For additional commands and help, type <command>help</command>.</para>
[62c964d]327
[52d29f7]328</sect2>
[3d60760]329
330</sect1>
331
Note: See TracBrowser for help on using the repository browser.