[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[78865d9] | 7 | <!ENTITY wget-download-http
|
---|
[828b199] | 8 | "&gnu-http;/wget/wget-&wget-version;.tar.gz">
|
---|
[78865d9] | 9 | <!ENTITY wget-download-ftp
|
---|
[828b199] | 10 | "&gnu-ftp;/wget/wget-&wget-version;.tar.gz">
|
---|
[c57cae3] | 11 | <!ENTITY wget-md5sum "e89496b15f8bf039d723926fae4d91f5">
|
---|
[88523c51] | 12 | <!ENTITY wget-size "4.8 MB">
|
---|
[c57cae3] | 13 | <!ENTITY wget-buildsize "40 MB (add 26 MB for tests)">
|
---|
| 14 | <!ENTITY wget-time "0.3 SBU (add 0.2 SBU for tests)">
|
---|
[d47e7ea9] | 15 | ]>
|
---|
[def11b7] | 16 |
|
---|
[19234f1] | 17 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
[db0eb6a] | 18 | <?dbhtml filename="wget.html"?>
|
---|
[bab92281] | 19 |
|
---|
[db0eb6a] | 20 | <sect1info>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
[bab92281] | 23 |
|
---|
[db0eb6a] | 24 | <title>Wget-&wget-version;</title>
|
---|
[bab92281] | 25 |
|
---|
[db0eb6a] | 26 | <indexterm zone="wget">
|
---|
| 27 | <primary sortas="a-Wget">Wget</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Wget</title>
|
---|
[bab92281] | 32 |
|
---|
[78865d9] | 33 | <para>
|
---|
| 34 | The <application>Wget</application> package contains a utility useful for
|
---|
| 35 | non-interactive downloading of files from the Web.
|
---|
| 36 | </para>
|
---|
[bab92281] | 37 |
|
---|
[ecc2386] | 38 | &lfs112_checked;
|
---|
[1c65bfd] | 39 |
|
---|
[db0eb6a] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[78865d9] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&wget-download-http;"/>
|
---|
| 45 | </para>
|
---|
[db0eb6a] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[78865d9] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&wget-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[db0eb6a] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[78865d9] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &wget-md5sum;
|
---|
| 55 | </para>
|
---|
[db0eb6a] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[78865d9] | 58 | <para>
|
---|
| 59 | Download size: &wget-size;
|
---|
| 60 | </para>
|
---|
[db0eb6a] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[78865d9] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &wget-buildsize;
|
---|
| 65 | </para>
|
---|
[db0eb6a] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[78865d9] | 68 | <para>
|
---|
| 69 | Estimated build time: &wget-time;
|
---|
| 70 | </para>
|
---|
[2174baa] | 71 | </listitem>
|
---|
[db0eb6a] | 72 | </itemizedlist>
|
---|
[bab92281] | 73 |
|
---|
[db0eb6a] | 74 | <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
|
---|
[bab92281] | 75 |
|
---|
[61562907] | 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
[2198a32] | 78 | <xref role="runtime" linkend="make-ca"/> (runtime)
|
---|
[61562907] | 79 | </para>
|
---|
| 80 |
|
---|
[db0eb6a] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[78865d9] | 82 | <para role="optional">
|
---|
[87c38e8] | 83 | <xref linkend="gnutls"/>,
|
---|
[4392a40] | 84 | <xref linkend="perl-http-daemon"/> (for the test suite),
|
---|
| 85 | <xref linkend="perl-io-socket-ssl"/> (for the test suite),
|
---|
[2bfc338] | 86 | <xref linkend="libidn2"/>,
|
---|
[1ad3510e] | 87 | <xref linkend="libpsl"/>,
|
---|
[c821a8f0] | 88 | <xref linkend="libunistring"/>,
|
---|
[8381f5e] | 89 | <xref linkend="pcre"/> or <xref linkend="pcre2"/>, and
|
---|
[1ad3510e] | 90 | <xref linkend="valgrind"/> (for the test suite)
|
---|
[78865d9] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <para condition="html" role="usernotes">
|
---|
| 94 | User Notes: <ulink url="&blfs-wiki;/wget"/>
|
---|
| 95 | </para>
|
---|
[db0eb6a] | 96 | </sect2>
|
---|
[bab92281] | 97 |
|
---|
[db0eb6a] | 98 | <sect2 role="installation">
|
---|
| 99 | <title>Installation of Wget</title>
|
---|
| 100 |
|
---|
[78865d9] | 101 | <para>
|
---|
| 102 | Install <application>Wget</application> by running the following commands:
|
---|
| 103 | </para>
|
---|
[db0eb6a] | 104 |
|
---|
[987fe4db] | 105 | <screen><userinput>./configure --prefix=/usr \
|
---|
[87c38e8] | 106 | --sysconfdir=/etc \
|
---|
| 107 | --with-ssl=openssl &&
|
---|
[db0eb6a] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[78865d9] | 110 | <para>
|
---|
[658b42d8] | 111 | To test the results, issue: <command>make check</command>.
|
---|
[78865d9] | 112 | </para>
|
---|
[bab92281] | 113 |
|
---|
[c57cae3] | 114 | <!-- libwww-perl/HTTP-Daemon/#21
|
---|
| 115 | Removing, since IO::Socket//INET6 has been deprecated
|
---|
| 116 | and replaced with IO::Socket::IP, which fixes the
|
---|
| 117 | problem
|
---|
[b51fe6e] | 118 | <para>
|
---|
| 119 | HTTPS tests are known to fail if Perl module IO::Socket::INET6
|
---|
| 120 | is installed.
|
---|
| 121 | </para>
|
---|
[c57cae3] | 122 | -->
|
---|
| 123 | <para>
|
---|
| 124 | Some tests may fail when Valgrind tests are enabled.
|
---|
| 125 | </para>
|
---|
[8381f5e] | 126 |
|
---|
[78865d9] | 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
[bab92281] | 130 |
|
---|
[db0eb6a] | 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 132 | </sect2>
|
---|
[bab92281] | 133 |
|
---|
[db0eb6a] | 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
[bab92281] | 136 |
|
---|
[78865d9] | 137 | <para>
|
---|
| 138 | <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
|
---|
| 139 | file from <filename class="directory">/usr/etc</filename> to
|
---|
| 140 | <filename class="directory">/etc</filename>.
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
[87c38e8] | 144 | <parameter>--with-ssl=openssl</parameter>: This allows the program to use
|
---|
[94b42903] | 145 | openssl instead of <xref linkend="gnutls"/>.
|
---|
[78865d9] | 146 | </para>
|
---|
[61562907] | 147 |
|
---|
[4e74dd7] | 148 | <para>
|
---|
| 149 | <option>--enable-valgrind-tests</option>: This allows the tests to be
|
---|
[2c38e951] | 150 | run under valgrind.
|
---|
[4e74dd7] | 151 | </para>
|
---|
| 152 |
|
---|
[db0eb6a] | 153 | </sect2>
|
---|
[bab92281] | 154 |
|
---|
[db0eb6a] | 155 | <sect2 role="configuration">
|
---|
| 156 | <title>Configuring Wget</title>
|
---|
| 157 |
|
---|
| 158 | <sect3 id="wget-config">
|
---|
| 159 | <title>Config Files</title>
|
---|
[bab92281] | 160 |
|
---|
[78865d9] | 161 | <para>
|
---|
| 162 | <filename>/etc/wgetrc</filename> and
|
---|
| 163 | <filename>~/.wgetrc</filename>
|
---|
| 164 | </para>
|
---|
[bab92281] | 165 |
|
---|
[db0eb6a] | 166 | <indexterm zone="wget wget-config">
|
---|
| 167 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
|
---|
| 168 | </indexterm>
|
---|
[bab92281] | 169 |
|
---|
[db0eb6a] | 170 | <indexterm zone="wget wget-config">
|
---|
| 171 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
|
---|
| 172 | </indexterm>
|
---|
[bab92281] | 173 |
|
---|
[6713ada] | 174 | <!--
|
---|
[78865d9] | 175 | <para>
|
---|
[2198a32] | 176 | If you have installed <xref linkend="make-ca"/> and you want
|
---|
[78865d9] | 177 | <application>Wget</application> to use them, as the
|
---|
| 178 | <systemitem class="username">root</systemitem> user:
|
---|
| 179 | </para>
|
---|
[bab92281] | 180 |
|
---|
[817374e] | 181 | <screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
|
---|
[6713ada] | 182 | -->
|
---|
[61562907] | 183 |
|
---|
[db0eb6a] | 184 | </sect3>
|
---|
[61562907] | 185 |
|
---|
[db0eb6a] | 186 | </sect2>
|
---|
[bab92281] | 187 |
|
---|
[db0eb6a] | 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 193 | <segtitle>Installed Libraries</segtitle>
|
---|
| 194 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 195 |
|
---|
[db0eb6a] | 196 | <seglistitem>
|
---|
[c3c56b2] | 197 | <seg>
|
---|
| 198 | wget
|
---|
| 199 | </seg>
|
---|
| 200 | <seg>
|
---|
| 201 | None
|
---|
| 202 | </seg>
|
---|
| 203 | <seg>
|
---|
| 204 | None
|
---|
| 205 | </seg>
|
---|
[db0eb6a] | 206 | </seglistitem>
|
---|
| 207 | </segmentedlist>
|
---|
[bab92281] | 208 |
|
---|
[db0eb6a] | 209 | <variablelist>
|
---|
| 210 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 211 | <?dbfo list-presentation="list"?>
|
---|
| 212 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 213 |
|
---|
[db0eb6a] | 214 | <varlistentry id="wget-prog">
|
---|
| 215 | <term><command>wget</command></term>
|
---|
| 216 | <listitem>
|
---|
[78865d9] | 217 | <para>
|
---|
| 218 | retrieves files from the Web using the HTTP, HTTPS and FTP
|
---|
| 219 | protocols. It is designed to be non-interactive, for background or
|
---|
[4c24eb0a] | 220 | unattended operations
|
---|
[78865d9] | 221 | </para>
|
---|
[db0eb6a] | 222 | <indexterm zone="wget wget-prog">
|
---|
| 223 | <primary sortas="b-wget">wget</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
[61562907] | 227 |
|
---|
[db0eb6a] | 228 | </variablelist>
|
---|
[61562907] | 229 |
|
---|
[db0eb6a] | 230 | </sect2>
|
---|
[61562907] | 231 |
|
---|
[f45b1953] | 232 | </sect1>
|
---|