source: general/prog/perl-modules.xml@ 7fc4452

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 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 7fc4452 was 7fc4452, checked in by Randy McMurchy <randy@…>, 19 years ago

Added indexing tags to Perl modules

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

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