source: lwp-protocol-https.xml@ 6397333

basic
Last change on this file since 6397333 was 6397333, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Convert internal like to external links for BLFS packages not in
the Basic book.

Reorder some chapters.

Merge System V and systemd sections so both are always displayed
with proper attribution for system type.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20524 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.7 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 <!ENTITY perl_authors "https://www.cpan.org/authors">
8 <!ENTITY LWP-Protocol-https-download-http "&perl_authors;/id/O/OA/OALDERS/LWP-Protocol-https-&LWP-Protocol-https-version;.tar.gz">
9 <!ENTITY LWP-Protocol-https-md5sum "b8943dfb7d187af63c36fc18ab15947d">
10]>
11
12<sect1 id="lwp-protocol-https" xreflabel="LWP::Protocol::https">
13 <?dbhtml filename="lwp-protocol-https.html" ?>
14
15 <sect1info>
16 <othername>$LastChangedBy$</othername>
17 <date>$Date$</date>
18 </sect1info>
19
20 <title>LWP::Protocol::https-&LWP-Protocol-https-version; (Perl Module)</title>
21
22 <sect2 role="package">
23 <title>Introduction to Perl Module LWP::Protocol::https</title>
24
25
26 <!-- LWP::Protocol::https -->
27 <bridgehead renderas="sect3" id="perl-lwp-protocol-https"
28 xreflabel="LWP::Protocol::https-&LWP-Protocol-https-version;">
29 LWP::Protocol::https-&LWP-Protocol-https-version;</bridgehead>
30
31 <indexterm zone="lwp-protocol-https perl-lwp-protocol-https">
32 <primary sortas="a-LWP-Protocol-https">LWP::Protocol::https</primary>
33 </indexterm>
34
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&perl_authors;/id/O/OA/OALDERS/LWP-Protocol-https-&LWP-Protocol-https-version;.tar.gz"/>
39 </para>
40 </listitem>
41 </itemizedlist>
42
43 <note>
44 <para>Explicit download of this package is not necessary when using
45 auto installation instructions.</para>
46 </note>
47
48 <para>LWP::Protocol::https provides https support for
49 LWP::UserAgent (i.e. for LWP). This module uses
50 <xref linkend="perl-auto-install"/>:.</para>
51
52<screen><userinput>cpan -i LWP::Protocol::https</userinput></screen>
53
54 </sect2>
55
56 <sect2 role="installation" id="perl-auto-install"
57 xreflabel="auto installation instructions">
58 <title>Auto Installation of Perl Modules.</title>
59
60 <para>
61 Install Perl modules using the <command>cpan</command> shell
62 <command>install</command> command. The command automatically downloads
63 the source from the CPAN archive, extracts it, runs the compilation,
64 testing and installation commands mentioned above.
65 </para>
66
67 <para>The first time you run <command>cpan</command>, you'll be prompted
68 to enter some information regarding download locations and methods. This
69 information is retained in files located in
70 <filename class='directory'>~/.cpan</filename>. Start the
71 <command>cpan</command> shell by issuing '<command>cpan</command>' as the
72 <systemitem class="username">root</systemitem> user. Any module may now be
73 installed from the
74 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
75 prompt with the command:</para>
76
77<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
78
79 <para>For additional commands and help, issue '<command>help</command>'
80 from the
81 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
82 prompt.</para>
83
84 <para>Alternatively, for scripted or non-interactive installations, use the
85 following syntax as the
86 <systemitem class="username">root</systemitem> user to install one or more
87 modules:</para>
88
89<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
90
91 <para>Review the <filename>cpan.1</filename> man page for additional
92 parameters you can pass to <command>cpan</command> on the command
93 line.</para>
94
95 </sect2>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.