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

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 cacf29f 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
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">
9]>
10
11<sect1 id="perl-modules" xreflabel="Perl modules">
12<sect1info>
13<othername>$LastChangedBy$</othername>
14<date>$Date$</date>
15</sect1info>
16<?dbhtml filename="perl-modules.html" ?>
17<title><application>Perl</application> modules</title>
18<indexterm zone="perl-modules">
19<primary sortas="a-Perl-modules">Perl modules</primary></indexterm>
20
21<sect2>
22<title>Introduction to <application>Perl</application> modules</title>
23
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
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
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
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
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>
50
51<itemizedlist spacing='compact'>
52<listitem><para><ulink
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>
56</sect3>
57
58<sect3><title><application>Perl</application> Module Packages</title>
59
60<itemizedlist><listitem><para id="perl-gtk-perl"><ulink
61url="http://www.cpan.org/authors/id/M/ML/MLEHMANN/Gtk-Perl-&Gtk-Perl-version;.tar.gz">
62Gtk-Perl-&Gtk-Perl-version;</ulink></para>
63<indexterm zone="perl-modules perl-gtk-perl">
64<primary sortas="g-Gtk-Perl">Gtk::Perl</primary></indexterm>
65
66<itemizedlist spacing='compact'><listitem><para id="perl-xml-writer"><ulink
67url="http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;.tar.gz">
68XML-Writer-&XML-Writer-version;</ulink></para>
69<indexterm zone="perl-modules perl-xml-writer">
70<primary sortas="g-XML-Writer">XML::Writer</primary></indexterm>
71</listitem>
72
73<listitem><para id="perl-xml-parser"><ulink
74url="http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
75XML-Parser-&XML-Parser-version;</ulink></para>
76<indexterm zone="perl-modules perl-xml-parser">
77<primary sortas="g-XML-Parser">XML::Parser</primary></indexterm>
78
79<itemizedlist spacing='compact'><listitem>
80<para><xref linkend="expat"/></para>
81</listitem></itemizedlist>
82</listitem>
83
84<listitem>
85<para><xref linkend="GTK"/></para>
86</listitem></itemizedlist>
87</listitem>
88
89<listitem><para id="perl-sgmlspm"><ulink
90url="http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
91SGMLSpm-&SGMLSpm-version;</ulink></para>
92<indexterm zone="perl-modules perl-sgmlspm">
93<primary sortas="g-SGMLSpm">SGMLSpm</primary></indexterm>
94</listitem>
95
96<listitem><para id="perl-perl-tk"><ulink
97url="http://www.cpan.org/authors/id/N/NI/NI-S/Tk-&Perl-Tk-version;.tar.gz">
98Tk-&Perl-Tk-version;</ulink></para>
99<indexterm zone="perl-modules perl-perl-tk">
100<primary sortas="g-Perl-Tk">Perl::Tk</primary></indexterm>
101
102<itemizedlist spacing='compact'><listitem>
103<para><xref linkend="tk"/> and <xref linkend="libjpeg"/></para>
104</listitem></itemizedlist>
105</listitem>
106
107<listitem><para id="perl-net-dns"><ulink
108url="http://www.cpan.org/authors/id/C/CR/CREIN/Net-DNS-&Net-DNS-version;.tar.gz">
109Net-DNS-&Net-DNS-version;</ulink></para>
110<indexterm zone="perl-modules perl-net-dns">
111<primary sortas="g-Net-DNS">Net::DNS</primary></indexterm>
112
113<itemizedlist spacing='compact'><listitem><para id="perl-digest-hmac"><ulink
114url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-&Digest-HMAC-version;.tar.gz">
115Digest-HMAC-&Digest-HMAC-version;</ulink></para>
116<indexterm zone="perl-modules perl-digest-hmac">
117<primary sortas="g-Digest-HMAC">Digest::HMAC</primary></indexterm>
118
119<itemizedlist spacing='compact'><listitem><para id="perl-digest-sha1"><ulink
120url="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-&Digest-SHA1-version;.tar.gz">
121Digest-SHA1-&Digest-SHA1-version;</ulink></para>
122<indexterm zone="perl-modules perl-digest-sha1">
123<primary sortas="g-Digest-SHA1">Digest::SHA1</primary></indexterm>
124</listitem></itemizedlist>
125</listitem></itemizedlist>
126</listitem>
127
128<listitem><para id="perl-lwp"><ulink
129url="http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">
130LWP-&LWP-version;</ulink></para>
131<indexterm zone="perl-modules perl-lwp">
132<primary sortas="g-LWP">LWP</primary></indexterm>
133
134<itemizedlist spacing='compact'><listitem><para id="perl-uri"><ulink
135url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">
136URI-&URI-version;</ulink></para>
137<indexterm zone="perl-modules perl-uri">
138<primary sortas="g-URI">URI</primary></indexterm>
139
140<itemizedlist spacing='compact'><listitem><para id="perl-business-isbn"><ulink
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>
144<indexterm zone="perl-modules perl-business-isbn">
145<primary sortas="g-Business-ISBN">Business::ISBN</primary></indexterm>
146
147<itemizedlist spacing='compact'><listitem><para id="perl-business-isbn-data"><ulink
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>
150<indexterm zone="perl-modules perl-business-isbn-data">
151<primary sortas="g-Business-ISBN-Data">Business::ISBN::Data</primary></indexterm>
152
153<itemizedlist spacing='compact'><listitem><para id="perl-test-pod"><ulink
154url="http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-&Test-Pod-version;.tar.gz">
155Test-Pod-&Test-Pod-version;</ulink></para>
156<indexterm zone="perl-modules perl-test-pod">
157<primary sortas="g-Test-Pod">Test::Pod</primary></indexterm>
158
159<itemizedlist spacing='compact'><listitem><para id="perl-pod-simple"><ulink
160url="http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Simple-&Pod-Simple-version;.tar.gz">
161Pod-Simple-&Pod-Simple-version;</ulink></para>
162<indexterm zone="perl-modules perl-pod-simple">
163<primary sortas="g-Pod-Simple">Pod::Simple</primary></indexterm>
164
165<itemizedlist spacing='compact'><listitem><para id="perl-pod-escapes"><ulink
166url="http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Escapes-&Pod-Escapes-version;.tar.gz">
167Pod-Escapes-&Pod-Escapes-version;</ulink></para>
168<indexterm zone="perl-modules perl-pod-escapes">
169<primary sortas="g-Pod-Escapes">Pod::Escapes</primary></indexterm>
170</listitem></itemizedlist>
171</listitem>
172
173<listitem><para id="perl-test-builder-tester"><ulink
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>
176<indexterm zone="perl-modules perl-test-builder-tester">
177<primary sortas="g-Test-Builder-Tester">Test::Builder::Tester</primary></indexterm>
178</listitem></itemizedlist>
179</listitem>
180
181<listitem><para id="perl-test-prereq"><ulink
182url="http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-&Test-Prereq-version;.tar.gz">
183Test-Prereq-&Test-Prereq-version;</ulink></para>
184<indexterm zone="perl-modules perl-test-prereq">
185<primary sortas="g-Test-Prereq">Test::Prereq</primary></indexterm>
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
192<listitem><para id="perl-module-corelist"><ulink
193url="http://www.cpan.org/authors/id/R/RC/RCLAMP/Module-CoreList-&Module-Corelist-version;.tar.gz">
194Module-CoreList-&Module-Corelist-version;</ulink></para>
195<indexterm zone="perl-modules perl-module-corelist">
196<primary sortas="g-Module-Corelist">Module::Corelist</primary></indexterm>
197</listitem></itemizedlist>
198</listitem></itemizedlist>
199</listitem></itemizedlist>
200</listitem></itemizedlist>
201</listitem>
202
203<listitem><para id="perl-html-parser"><ulink
204url="http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">
205HTML-Parser-&HTML-Parser-version;</ulink></para>
206<indexterm zone="perl-modules perl-html-parser">
207<primary sortas="g-HTML-Parser">HTML::Parser</primary></indexterm>
208
209<itemizedlist spacing='compact'><listitem><para id="perl-html-tagset"><ulink
210url="http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tagset-&HTML-Tagset-version;.tar.gz">
211HTML-Tagset-&HTML-Tagset-version;</ulink></para>
212<indexterm zone="perl-modules perl-html-tagset">
213<primary sortas="g-HTML-Tagset">HTML::Tagset</primary></indexterm>
214</listitem></itemizedlist>
215</listitem>
216
217<listitem><para id="perl-compress-zlib"><ulink
218url="http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Zlib-&Compress-Zlib-version;.tar.gz">
219Compress-Zlib-&Compress-Zlib-version;</ulink></para>
220<indexterm zone="perl-modules perl-compress-zlib">
221<primary sortas="g-Compress-Zlib">Compress::Zlib</primary></indexterm>
222</listitem>
223
224<listitem><para id="perl-crypt-ssleay"><ulink
225url="http://www.cpan.org/authors/id/C/CH/CHAMAS/Crypt-SSLeay-&Crypt-SSLeay-version;.tar.gz">
226Crypt-SSLeay-&Crypt-SSLeay-version;</ulink></para>
227<indexterm zone="perl-modules perl-crypt-ssleay">
228<primary sortas="g-Crypt-SSLeay">Crypt::SSLeay</primary></indexterm>
229</listitem></itemizedlist>
230</listitem>
231
232<listitem><para id="perl-datemanip"><ulink
233url="http://www.cpan.org/authors/id/S/SB/SBECK/DateManip-&DateManip-version;.tar.gz">
234DateManip-&DateManip-version;</ulink></para>
235<indexterm zone="perl-modules perl-datemanip">
236<primary sortas="g-DateManip">DateManip</primary></indexterm>
237</listitem>
238
239<listitem><para id="perl-finance-quote"><ulink
240url="http://www.cpan.org/authors/id/P/PJ/PJF/Finance-Quote-&Finance-Quote-version;.tar.gz">
241Finance-Quote-&Finance-Quote-version;</ulink></para>
242<indexterm zone="perl-modules perl-finance-quote">
243<primary sortas="g-Finance-Quote">Finance::Quote</primary></indexterm>
244
245<itemizedlist spacing='compact'><listitem><para id="perl-html-tableextract"><ulink
246url="http://www.cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
247HTML-TableExtract-&HTML-TableExtract-version;</ulink></para>
248<indexterm zone="perl-modules perl-html-tableextract">
249<primary sortas="g-HTML-TableExtract">HTML::TableExtract</primary></indexterm>
250</listitem></itemizedlist>
251</listitem></itemizedlist>
252</sect3>
253
254</sect2>
255
256<sect2>
257<title>Installation of <application>Perl</application> modules</title>
258
259<para>Install <application>Perl</application> modules by running the following
260commands:</para>
261
262<screen><userinput><command>perl Makefile.PL &amp;&amp;
263make &amp;&amp;
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>
269
270<para>The modules listed below require modifications to the instructions in
271order to install successfully.</para>
272
273<sect3><title>Gtk-Perl-&Gtk-Perl-version;:</title>
274<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
275make &amp;&amp;
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>
281</sect3>
282
283<sect3><title>SGMLSpm-&SGMLSpm-version;</title>
284
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>
288
289<screen><userinput><command>sed -i -e "s@/usr/local/bin@/usr/bin@" \
290 -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
291 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
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;
298make install_html &amp;&amp;
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>
301</sect3>
302
303</sect2>
304
305<sect2><title>(Alternate) Auto installation of <application>Perl</application>
306modules.</title>
307
308<para>There is an alternate way of installing the modules using
309<application>Perl</application>'s built-in <command>install</command> command.
310The command automatically downloads the source from the <acronym>CPAN</acronym>
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>
314
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>.
318Start the perl shell with the following command as the root user:</para>
319
320<screen><userinput role='root'><command>perl -MCPAN -e shell</command></userinput></screen>
321
322<para>Each module may now be installed from this shell with the command:</para>
323
324<screen><userinput role='root'><command>install <replaceable>[Module::Name]</replaceable></command></userinput></screen>
325
326<para>For additional commands and help, type <command>help</command>.</para>
327
328</sect2>
329
330</sect1>
331
Note: See TracBrowser for help on using the repository browser.