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 wget-download-http
|
---|
8 | "&gnu-http;/wget/wget-&wget-version;.tar.gz">
|
---|
9 | <!ENTITY wget-download-ftp
|
---|
10 | "&gnu-ftp;/wget/wget-&wget-version;.tar.gz">
|
---|
11 | <!ENTITY wget-md5sum "6321d4c2b820394cf2392985d8f8c563">
|
---|
12 | <!ENTITY wget-size "4.8 MB">
|
---|
13 | <!ENTITY wget-buildsize "63 MB (with tests)">
|
---|
14 | <!ENTITY wget-time "0.6 SBU (with tests)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
18 | <?dbhtml filename="wget.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Wget-&wget-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="wget">
|
---|
27 | <primary sortas="a-Wget">Wget</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Wget</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>Wget</application> package contains a utility useful for
|
---|
35 | non-interactive downloading of files from the Web.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs110a_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&wget-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&wget-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &wget-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &wget-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &wget-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &wget-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
77 | <para role="recommended">
|
---|
78 | <xref role="runtime" linkend="make-ca"/> (runtime)
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref linkend="gnutls"/>,
|
---|
84 | <xref linkend="perl-http-daemon"/> (for the test suite),
|
---|
85 | <xref linkend="perl-io-socket-ssl"/> (for the test suite),
|
---|
86 | <xref linkend="libidn2"/>,
|
---|
87 | <xref linkend="libpsl"/>,
|
---|
88 | <xref linkend="pcre"/> or <xref linkend="pcre2"/>, and
|
---|
89 | <xref linkend="valgrind"/> (for the test suite)
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para condition="html" role="usernotes">
|
---|
93 | User Notes: <ulink url="&blfs-wiki;/wget"/>
|
---|
94 | </para>
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of Wget</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>Wget</application> by running the following commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr \
|
---|
105 | --sysconfdir=/etc \
|
---|
106 | --with-ssl=openssl &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | To test the results, issue: <command>make check</command>.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <!-- libwww-perl/HTTP-Daemon/#21 -->
|
---|
114 | <para>
|
---|
115 | HTTPS tests are known to fail if Perl module IO::Socket::INET6
|
---|
116 | is installed.
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="commands">
|
---|
127 | <title>Command Explanations</title>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
|
---|
131 | file from <filename class="directory">/usr/etc</filename> to
|
---|
132 | <filename class="directory">/etc</filename>.
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <parameter>--with-ssl=openssl</parameter>: This allows the program to use
|
---|
137 | openssl instead of <xref linkend="gnutls"/>.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | <option>--enable-valgrind-tests</option>: This allows the tests to be
|
---|
142 | run under valgrind.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="configuration">
|
---|
148 | <title>Configuring Wget</title>
|
---|
149 |
|
---|
150 | <sect3 id="wget-config">
|
---|
151 | <title>Config Files</title>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | <filename>/etc/wgetrc</filename> and
|
---|
155 | <filename>~/.wgetrc</filename>
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <indexterm zone="wget wget-config">
|
---|
159 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
|
---|
160 | </indexterm>
|
---|
161 |
|
---|
162 | <indexterm zone="wget wget-config">
|
---|
163 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
|
---|
164 | </indexterm>
|
---|
165 |
|
---|
166 | <!--
|
---|
167 | <para>
|
---|
168 | If you have installed <xref linkend="make-ca"/> and you want
|
---|
169 | <application>Wget</application> to use them, as the
|
---|
170 | <systemitem class="username">root</systemitem> user:
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
|
---|
174 | -->
|
---|
175 |
|
---|
176 | </sect3>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | <sect2 role="content">
|
---|
181 | <title>Contents</title>
|
---|
182 |
|
---|
183 | <segmentedlist>
|
---|
184 | <segtitle>Installed Program</segtitle>
|
---|
185 | <segtitle>Installed Libraries</segtitle>
|
---|
186 | <segtitle>Installed Directories</segtitle>
|
---|
187 |
|
---|
188 | <seglistitem>
|
---|
189 | <seg>
|
---|
190 | wget
|
---|
191 | </seg>
|
---|
192 | <seg>
|
---|
193 | None
|
---|
194 | </seg>
|
---|
195 | <seg>
|
---|
196 | None
|
---|
197 | </seg>
|
---|
198 | </seglistitem>
|
---|
199 | </segmentedlist>
|
---|
200 |
|
---|
201 | <variablelist>
|
---|
202 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
203 | <?dbfo list-presentation="list"?>
|
---|
204 | <?dbhtml list-presentation="table"?>
|
---|
205 |
|
---|
206 | <varlistentry id="wget-prog">
|
---|
207 | <term><command>wget</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | retrieves files from the Web using the HTTP, HTTPS and FTP
|
---|
211 | protocols. It is designed to be non-interactive, for background or
|
---|
212 | unattended operations
|
---|
213 | </para>
|
---|
214 | <indexterm zone="wget wget-prog">
|
---|
215 | <primary sortas="b-wget">wget</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | </variablelist>
|
---|
221 |
|
---|
222 | </sect2>
|
---|
223 |
|
---|
224 | </sect1>
|
---|