source: general/prog/perl-modules.xml@ 9ee1058

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 9ee1058 was 9ee1058, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Tagged perl-modules.xml

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

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