source: chapter06/perl.xml@ e747759

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e747759 was e747759, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added sect1info blocks to packages pages.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8366 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 15.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-perl" role="wrap">
9 <?dbhtml filename="perl.html"?>
10
11 <sect1info condition="script">
12 <productname>perl</productname>
13 <productnumber>&perl-version;</productnumber>
14 <address>&perl-url;</address>
15 </sect1info>
16
17 <title>Perl-&perl-version;</title>
18
19 <indexterm zone="ch-system-perl">
20 <primary sortas="a-Perl">Perl</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Perl package contains the Practical Extraction and Report
27 Language.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&perl-ch6-sbu;</seg>
35 <seg>&perl-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Perl</title>
43
44 <para>First create a basic <filename>/etc/hosts</filename> file to be
45 referenced in one of Perl's configuration files as well as the optional
46 testsuite:</para>
47
48<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
49
50 <para>To have full control over the way Perl is set up, you can run the
51 interactive <command>Configure</command> script and hand-pick the way this
52 package is built. If you prefer, you can use the defaults that Perl
53 auto-detects, by preparing Perl for compilation with:</para>
54
55<screen><userinput>./configure.gnu --prefix=/usr \
56 -Dman1dir=/usr/share/man/man1 \
57 -Dman3dir=/usr/share/man/man3 \
58 -Dpager="/usr/bin/less -isR"</userinput></screen>
59
60 <variablelist>
61 <title>The meaning of the configure options:</title>
62
63 <varlistentry>
64 <term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
65 <listitem>
66 <para>This corrects an error in the way that <command>perldoc</command>
67 invokes the <command>less</command> program.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term><parameter>-Dman1dir=/usr/share/man/man1
73 -Dman3dir=/usr/share/man/man3</parameter></term>
74 <listitem>
75 <para>Since Groff is not installed yet, <command>Configure</command>
76 thinks that we do not want man pages for Perl. Issuing these
77 parameters overrides this decision.</para>
78 </listitem>
79 </varlistentry>
80
81 </variablelist>
82
83 <para>Compile the package:</para>
84
85<screen><userinput>make</userinput></screen>
86
87 <para>To test the results, issue:
88 <userinput>make test</userinput>.</para>
89
90 <para>Install the package:</para>
91
92<screen><userinput>make install</userinput></screen>
93
94 </sect2>
95
96 <sect2 id="contents-perl" role="content">
97 <title>Contents of Perl</title>
98
99 <segmentedlist>
100 <segtitle>Installed programs</segtitle>
101 <segtitle>Installed libraries</segtitle>
102
103 <seglistitem>
104 <seg>a2p, c2ph, cpan, dprofpp, enc2xs, find2perl, h2ph, h2xs,
105 instmodsh, libnetcfg, perl, perl&perl-version; (link to perl),
106 perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex,
107 pod2man, pod2text, pod2usage, podchecker, podselect, prove,
108 psed (link to s2p), pstruct (link to c2ph), s2p, splain, and
109 xsubpp</seg>
110 <seg>Several hundred which cannot all be listed here</seg>
111 </seglistitem>
112 </segmentedlist>
113
114 <variablelist>
115 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
116 <?dbfo list-presentation="list"?>
117 <?dbhtml list-presentation="table"?>
118
119 <varlistentry id="a2p">
120 <term><command>a2p</command></term>
121 <listitem>
122 <para>Translates awk to Perl</para>
123 <indexterm zone="ch-system-perl a2p">
124 <primary sortas="b-a2p">a2p</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="c2ph">
130 <term><command>c2ph</command></term>
131 <listitem>
132 <para>Dumps C structures as generated from
133 <command>cc -g -S</command></para>
134 <indexterm zone="ch-system-perl c2ph">
135 <primary sortas="b-c2ph">c2ph</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="cpan">
141 <term><command>cpan</command></term>
142 <listitem>
143 <para>Interact with the Comprehensive Perl Archive Network (CPAN)
144 from the command line</para>
145 <indexterm zone="ch-system-perl cpan">
146 <primary sortas="b-cpan">cpan</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="dprofpp">
152 <term><command>dprofpp</command></term>
153 <listitem>
154 <para>Displays Perl profile data</para>
155 <indexterm zone="ch-system-perl dprofpp">
156 <primary sortas="b-dprofpp">dprofpp</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="enc2xs">
162 <term><command>enc2xs</command></term>
163 <listitem>
164 <para>Builds a Perl extension for the Encode module from either
165 Unicode Character Mappings or Tcl Encoding Files</para>
166 <indexterm zone="ch-system-perl enc2xs">
167 <primary sortas="b-enc2xs">enc2xs</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="find2perl">
173 <term><command>find2perl</command></term>
174 <listitem>
175 <para>Translates <command>find</command> commands to Perl</para>
176 <indexterm zone="ch-system-perl find2perl">
177 <primary sortas="b-find2perl">find2perl</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="h2ph">
183 <term><command>h2ph</command></term>
184 <listitem>
185 <para>Converts <filename class="extension">.h</filename> C header
186 files to <filename class="extension">.ph</filename> Perl header
187 files</para>
188 <indexterm zone="ch-system-perl h2ph">
189 <primary sortas="b-h2ph">h2ph</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="h2xs">
195 <term><command>h2xs</command></term>
196 <listitem>
197 <para>Converts <filename class="extension">.h</filename> C header
198 files to Perl extensions</para>
199 <indexterm zone="ch-system-perl h2xs">
200 <primary sortas="b-h2xs">h2xs</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="instmodsh">
206 <term><command>instmodsh</command></term>
207 <listitem>
208 <para>Shell script for examining installed Perl modules,
209 and can even create a tarball from an installed module</para>
210 <indexterm zone="ch-system-perl instmodsh">
211 <primary sortas="b-instmodsh">instmodsh</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="libnetcfg">
217 <term><command>libnetcfg</command></term>
218 <listitem>
219 <para>Can be used to configure the
220 <filename class="libraryfile">libnet</filename></para>
221 <indexterm zone="ch-system-perl libnetcfg">
222 <primary sortas="b-libnetcfg">libnetcfg</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="perl">
228 <term><command>perl</command></term>
229 <listitem>
230 <para>Combines some of the best features of C, <command>sed</command>,
231 <command>awk</command> and <command>sh</command> into a single
232 swiss-army language</para>
233 <indexterm zone="ch-system-perl perl">
234 <primary sortas="b-perl">perl</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="perl-version">
240 <term><command>perl&perl-version;</command></term>
241 <listitem>
242 <para>A hard link to <command>perl</command></para>
243 <indexterm zone="ch-system-perl perl-version">
244 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="perlbug">
250 <term><command>perlbug</command></term>
251 <listitem>
252 <para>Used to generate bug reports about Perl, or the modules that come
253 with it, and mail them</para>
254 <indexterm zone="ch-system-perl perlbug">
255 <primary sortas="b-perlbug">perlbug</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="perlcc">
261 <term><command>perlcc</command></term>
262 <listitem>
263 <para>Generates executables from Perl programs</para>
264 <indexterm zone="ch-system-perl perlcc">
265 <primary sortas="b-perlcc">perlcc</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="perldoc">
271 <term><command>perldoc</command></term>
272 <listitem>
273 <para>Displays a piece of documentation in pod format that is embedded
274 in the Perl installation tree or in a Perl script</para>
275 <indexterm zone="ch-system-perl perldoc">
276 <primary sortas="b-perldoc">perldoc</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="perlivp">
282 <term><command>perlivp</command></term>
283 <listitem>
284 <para>The Perl Installation Verification Procedure; it can be used to
285 verify that Perl and its libraries have been installed
286 correctly</para>
287 <indexterm zone="ch-system-perl perlivp">
288 <primary sortas="b-perlivp">perlivp</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="piconv">
294 <term><command>piconv</command></term>
295 <listitem>
296 <para>A Perl version of the character encoding converter
297 <command>iconv</command></para>
298 <indexterm zone="ch-system-perl piconv">
299 <primary sortas="b-piconv">piconv</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="pl2pm">
305 <term><command>pl2pm</command></term>
306 <listitem>
307 <para>A rough tool for converting Perl4
308 <filename class="extension">.pl</filename> files to Perl5
309 <filename class="extension">.pm</filename> modules</para>
310 <indexterm zone="ch-system-perl pl2pm">
311 <primary sortas="b-pl2pm">pl2pm</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="pod2html">
317 <term><command>pod2html</command></term>
318 <listitem>
319 <para>Converts files from pod format to HTML format</para>
320 <indexterm zone="ch-system-perl pod2html">
321 <primary sortas="b-pod2html">pod2html</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="pod2latex">
327 <term><command>pod2latex</command></term>
328 <listitem>
329 <para>Converts files from pod format to LaTeX format</para>
330 <indexterm zone="ch-system-perl pod2latex">
331 <primary sortas="b-pod2latex">pod2latex</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="pod2man">
337 <term><command>pod2man</command></term>
338 <listitem>
339 <para>Converts pod data to formatted *roff input</para>
340 <indexterm zone="ch-system-perl pod2man">
341 <primary sortas="b-pod2man">pod2man</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="pod2text">
347 <term><command>pod2text</command></term>
348 <listitem>
349 <para>Converts pod data to formatted ASCII text</para>
350 <indexterm zone="ch-system-perl pod2text">
351 <primary sortas="b-pod2text">pod2text</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="pod2usage">
357 <term><command>pod2usage</command></term>
358 <listitem>
359 <para>Prints usage messages from embedded pod docs in files</para>
360 <indexterm zone="ch-system-perl pod2usage">
361 <primary sortas="b-pod2usage">pod2usage</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="podchecker">
367 <term><command>podchecker</command></term>
368 <listitem>
369 <para>Checks the syntax of pod format documentation files</para>
370 <indexterm zone="ch-system-perl podchecker">
371 <primary sortas="b-podchecker">podchecker</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="podselect">
377 <term><command>podselect</command></term>
378 <listitem>
379 <para>Displays selected sections of pod documentation</para>
380 <indexterm zone="ch-system-perl podselect">
381 <primary sortas="b-podselect">podselect</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="prove">
387 <term><command>prove</command></term>
388 <listitem>
389 <para>Command line tool for running tests against the Test::Harness
390 module.</para>
391 <indexterm zone="ch-system-perl prove">
392 <primary sortas="b-prove">prove</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="psed">
398 <term><command>psed</command></term>
399 <listitem>
400 <para>A Perl version of the stream editor <command>sed</command></para>
401 <indexterm zone="ch-system-perl psed">
402 <primary sortas="b-psed">psed</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 <varlistentry id="pstruct">
408 <term><command>pstruct</command></term>
409 <listitem>
410 <para>Dumps C structures as generated from <command>cc -g -S</command>
411 stabs</para>
412 <indexterm zone="ch-system-perl pstruct">
413 <primary sortas="b-pstruct">pstruct</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="s2p">
419 <term><command>s2p</command></term>
420 <listitem>
421 <para>Translates <command>sed</command> scripts to Perl</para>
422 <indexterm zone="ch-system-perl s2p">
423 <primary sortas="b-s2p">s2p</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="splain">
429 <term><command>splain</command></term>
430 <listitem>
431 <para>Is used to force verbose warning diagnostics in Perl</para>
432 <indexterm zone="ch-system-perl splain">
433 <primary sortas="b-splain">splain</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="xsubpp">
439 <term><command>xsubpp</command></term>
440 <listitem>
441 <para>Converts Perl XS code into C code</para>
442 <indexterm zone="ch-system-perl xsubpp">
443 <primary sortas="b-xsubpp">xsubpp</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 </variablelist>
449
450 </sect2>
451
452</sect1>
Note: See TracBrowser for help on using the repository browser.