[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">
|
---|
[714b5e4c] | 11 | <!ENTITY wget-md5sum "2db6f03d655041f82eb64b8c8a1fa7da">
|
---|
| 12 | <!ENTITY wget-size "4.2 MB">
|
---|
| 13 | <!ENTITY wget-buildsize "27 MB (add 8 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 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
[bab92281] | 24 |
|
---|
[db0eb6a] | 25 | <title>Wget-&wget-version;</title>
|
---|
[bab92281] | 26 |
|
---|
[db0eb6a] | 27 | <indexterm zone="wget">
|
---|
| 28 | <primary sortas="a-Wget">Wget</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Wget</title>
|
---|
[bab92281] | 33 |
|
---|
[78865d9] | 34 | <para>
|
---|
| 35 | The <application>Wget</application> package contains a utility useful for
|
---|
| 36 | non-interactive downloading of files from the Web.
|
---|
| 37 | </para>
|
---|
[bab92281] | 38 |
|
---|
[048b9a46] | 39 | &lfs83_checked;
|
---|
[1c65bfd] | 40 |
|
---|
[db0eb6a] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[78865d9] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&wget-download-http;"/>
|
---|
| 46 | </para>
|
---|
[db0eb6a] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[78865d9] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&wget-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[db0eb6a] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[78865d9] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &wget-md5sum;
|
---|
| 56 | </para>
|
---|
[db0eb6a] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[78865d9] | 59 | <para>
|
---|
| 60 | Download size: &wget-size;
|
---|
| 61 | </para>
|
---|
[db0eb6a] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[78865d9] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &wget-buildsize;
|
---|
| 66 | </para>
|
---|
[db0eb6a] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[78865d9] | 69 | <para>
|
---|
| 70 | Estimated build time: &wget-time;
|
---|
| 71 | </para>
|
---|
[2174baa] | 72 | </listitem>
|
---|
[db0eb6a] | 73 | </itemizedlist>
|
---|
[bab92281] | 74 |
|
---|
[db0eb6a] | 75 | <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
|
---|
[bab92281] | 76 |
|
---|
[61562907] | 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
[2198a32] | 79 | <xref role="runtime" linkend="make-ca"/> (runtime)
|
---|
[61562907] | 80 | </para>
|
---|
[acf7e2c] | 81 |
|
---|
[db0eb6a] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[78865d9] | 83 | <para role="optional">
|
---|
[acf7e2c] | 84 | <ulink url="&blfs-book;postlfs/gnutls.html">gnutls</ulink>,
|
---|
| 85 | <ulink url="&blfs-book;postlfs/gpgme.html">gpgme</ulink>,
|
---|
| 86 | <ulink url="&blfs-book;general/perl-modules.html#perl-http-daemon">
|
---|
| 87 | perl-http-daemon</ulink> (for the test suite),
|
---|
| 88 | <ulink url="&blfs-book;general/perl-modules.html#perl-io-socket-ssl">
|
---|
| 89 | perl-io-socket-ssl"</ulink> (for the test suite),
|
---|
| 90 | <ulink url="&blfs-book;general/libidn2.html">libidn2</ulink>,
|
---|
| 91 | <ulink url="&blfs-bookd;basicnet/libpsl.html">libpsl</ulink>,
|
---|
| 92 | <ulink url="&blfs-book;general/pcre.html">pcre</ulink>,
|
---|
| 93 | <xref linkend="python"/> (for the test suite), and
|
---|
| 94 | <ulink url="&blfs-book;general/valgrind.html">valgrind</ulink> (for the test suite)
|
---|
[78865d9] | 95 | </para>
|
---|
[acf7e2c] | 96 |
|
---|
[78865d9] | 97 | <para condition="html" role="usernotes">
|
---|
| 98 | User Notes: <ulink url="&blfs-wiki;/wget"/>
|
---|
| 99 | </para>
|
---|
[db0eb6a] | 100 | </sect2>
|
---|
[bab92281] | 101 |
|
---|
[db0eb6a] | 102 | <sect2 role="installation">
|
---|
| 103 | <title>Installation of Wget</title>
|
---|
| 104 |
|
---|
[78865d9] | 105 | <para>
|
---|
| 106 | Install <application>Wget</application> by running the following commands:
|
---|
| 107 | </para>
|
---|
[db0eb6a] | 108 |
|
---|
[987fe4db] | 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
[87c38e8] | 110 | --sysconfdir=/etc \
|
---|
| 111 | --with-ssl=openssl &&
|
---|
[db0eb6a] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[78865d9] | 114 | <para>
|
---|
[73f65d9e] | 115 | To test the results, issue: <command>make check</command>. Nine tests
|
---|
| 116 | fail if python2 was not built with SSL support.
|
---|
[78865d9] | 117 | </para>
|
---|
[bab92281] | 118 |
|
---|
[78865d9] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[bab92281] | 122 |
|
---|
[db0eb6a] | 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 | </sect2>
|
---|
[bab92281] | 125 |
|
---|
[db0eb6a] | 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
[bab92281] | 128 |
|
---|
[78865d9] | 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>
|
---|
[87c38e8] | 136 | <parameter>--with-ssl=openssl</parameter>: This allows the program to use
|
---|
[acf7e2c] | 137 | openssl instead of <ulink url="&blfs-book;postlfs/gnutls.html">gnutls</ulink>.
|
---|
[78865d9] | 138 | </para>
|
---|
[61562907] | 139 |
|
---|
[4e74dd7] | 140 | <para>
|
---|
| 141 | <option>--enable-valgrind-tests</option>: This allows the tests to be
|
---|
[2c38e951] | 142 | run under valgrind.
|
---|
[4e74dd7] | 143 | </para>
|
---|
| 144 |
|
---|
[db0eb6a] | 145 | </sect2>
|
---|
[bab92281] | 146 |
|
---|
[db0eb6a] | 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring Wget</title>
|
---|
| 149 |
|
---|
| 150 | <sect3 id="wget-config">
|
---|
| 151 | <title>Config Files</title>
|
---|
[bab92281] | 152 |
|
---|
[78865d9] | 153 | <para>
|
---|
| 154 | <filename>/etc/wgetrc</filename> and
|
---|
| 155 | <filename>~/.wgetrc</filename>
|
---|
| 156 | </para>
|
---|
[bab92281] | 157 |
|
---|
[db0eb6a] | 158 | <indexterm zone="wget wget-config">
|
---|
| 159 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
|
---|
| 160 | </indexterm>
|
---|
[bab92281] | 161 |
|
---|
[db0eb6a] | 162 | <indexterm zone="wget wget-config">
|
---|
| 163 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
|
---|
| 164 | </indexterm>
|
---|
[bab92281] | 165 |
|
---|
[db0eb6a] | 166 | </sect3>
|
---|
[61562907] | 167 |
|
---|
[db0eb6a] | 168 | </sect2>
|
---|
[bab92281] | 169 |
|
---|
[db0eb6a] | 170 | <sect2 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
| 174 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 175 | <segtitle>Installed Libraries</segtitle>
|
---|
| 176 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 177 |
|
---|
[db0eb6a] | 178 | <seglistitem>
|
---|
[c3c56b2] | 179 | <seg>
|
---|
| 180 | wget
|
---|
| 181 | </seg>
|
---|
| 182 | <seg>
|
---|
| 183 | None
|
---|
| 184 | </seg>
|
---|
| 185 | <seg>
|
---|
| 186 | None
|
---|
| 187 | </seg>
|
---|
[db0eb6a] | 188 | </seglistitem>
|
---|
| 189 | </segmentedlist>
|
---|
[bab92281] | 190 |
|
---|
[db0eb6a] | 191 | <variablelist>
|
---|
| 192 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 193 | <?dbfo list-presentation="list"?>
|
---|
| 194 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 195 |
|
---|
[db0eb6a] | 196 | <varlistentry id="wget-prog">
|
---|
| 197 | <term><command>wget</command></term>
|
---|
| 198 | <listitem>
|
---|
[78865d9] | 199 | <para>
|
---|
| 200 | retrieves files from the Web using the HTTP, HTTPS and FTP
|
---|
| 201 | protocols. It is designed to be non-interactive, for background or
|
---|
| 202 | unattended operations.
|
---|
| 203 | </para>
|
---|
[db0eb6a] | 204 | <indexterm zone="wget wget-prog">
|
---|
| 205 | <primary sortas="b-wget">wget</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
[61562907] | 209 |
|
---|
[db0eb6a] | 210 | </variablelist>
|
---|
[61562907] | 211 |
|
---|
[db0eb6a] | 212 | </sect2>
|
---|
[61562907] | 213 |
|
---|
[f45b1953] | 214 | </sect1>
|
---|