[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 |
|
---|
[ce4cc4c] | 7 | <!ENTITY wget-download-http "http://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
|
---|
| 8 | <!ENTITY wget-download-ftp "ftp://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
|
---|
[4f598ff5] | 9 | <!ENTITY wget-md5sum "7f518b3a71e9efd330e9a0c3714f8463">
|
---|
[ce4cc4c] | 10 | <!ENTITY wget-size "1.4 MB">
|
---|
[4f598ff5] | 11 | <!ENTITY wget-buildsize "18 MB">
|
---|
[ce4cc4c] | 12 | <!ENTITY wget-time "0.4 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
[def11b7] | 14 |
|
---|
[19234f1] | 15 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
[db0eb6a] | 16 | <?dbhtml filename="wget.html"?>
|
---|
[bab92281] | 17 |
|
---|
[db0eb6a] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[bab92281] | 22 |
|
---|
[db0eb6a] | 23 | <title>Wget-&wget-version;</title>
|
---|
[bab92281] | 24 |
|
---|
[db0eb6a] | 25 | <indexterm zone="wget">
|
---|
| 26 | <primary sortas="a-Wget">Wget</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Wget</title>
|
---|
[bab92281] | 31 |
|
---|
[3f8305d] | 32 | <para>The <application>Wget</application> package contains a utility useful
|
---|
| 33 | for non-interactive downloading of files from the Web.</para>
|
---|
[bab92281] | 34 |
|
---|
[e79ed72] | 35 | &lfs70_checked;
|
---|
[1c65bfd] | 36 |
|
---|
[db0eb6a] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&wget-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&wget-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &wget-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &wget-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &wget-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2174baa] | 55 | <para>Estimated build time: &wget-time;</para>
|
---|
| 56 | </listitem>
|
---|
[db0eb6a] | 57 | </itemizedlist>
|
---|
[bab92281] | 58 |
|
---|
[db0eb6a] | 59 | <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
|
---|
[bab92281] | 60 |
|
---|
[db0eb6a] | 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[eb66622] | 62 | <para role="optional"><xref linkend="openssl"/> or <xref linkend="gnutls"/>,
|
---|
[4f598ff5] | 63 | <xref linkend="libidn"/>, Perl Module HTTP::Server (for the test suite)
|
---|
[786b1ba] | 64 | (see the standard Perl <xref linkend="perl-standard-install"/>), and
|
---|
[db0eb6a] | 65 | <ulink url="http://www.inet.no/dante/">Dante</ulink></para>
|
---|
[bab92281] | 66 |
|
---|
[061ec9d] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/wget"/></para>
|
---|
| 69 |
|
---|
[db0eb6a] | 70 | </sect2>
|
---|
[bab92281] | 71 |
|
---|
[db0eb6a] | 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of Wget</title>
|
---|
| 74 |
|
---|
[17e6d48] | 75 | <para>Install <application>Wget</application> by running the following
|
---|
[db0eb6a] | 76 | commands:</para>
|
---|
| 77 |
|
---|
[ce4cc4c] | 78 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 79 | --sysconfdir=/etc \
|
---|
| 80 | --with-ssl=openssl &&
|
---|
[db0eb6a] | 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
[9327a61] | 83 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[bab92281] | 84 |
|
---|
[db0eb6a] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[bab92281] | 86 |
|
---|
[db0eb6a] | 87 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bab92281] | 88 |
|
---|
[db0eb6a] | 89 | </sect2>
|
---|
[bab92281] | 90 |
|
---|
[db0eb6a] | 91 | <sect2 role="commands">
|
---|
| 92 | <title>Command Explanations</title>
|
---|
[bab92281] | 93 |
|
---|
[db0eb6a] | 94 | <para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
---|
[17e6d48] | 95 | the configuration file from <filename class="directory">/usr/etc</filename> to
|
---|
[db0eb6a] | 96 | <filename class="directory">/etc</filename>.</para>
|
---|
[bab92281] | 97 |
|
---|
[ce4cc4c] | 98 | <para><parameter>--with-ssl=openssl</parameter>: This allows the program to
|
---|
| 99 | work with <xref linkend="openssl"/>. It can be omitted if <xref linkend="gnutls"/>
|
---|
| 100 | is found or the https protocol is not needed. </para>
|
---|
| 101 |
|
---|
[db0eb6a] | 102 | </sect2>
|
---|
[bab92281] | 103 |
|
---|
[db0eb6a] | 104 | <sect2 role="configuration">
|
---|
| 105 | <title>Configuring Wget</title>
|
---|
| 106 |
|
---|
| 107 | <sect3 id="wget-config">
|
---|
| 108 | <title>Config Files</title>
|
---|
[bab92281] | 109 |
|
---|
[db0eb6a] | 110 | <para><filename>/etc/wgetrc</filename> and
|
---|
| 111 | <filename>~/.wgetrc</filename></para>
|
---|
[bab92281] | 112 |
|
---|
[db0eb6a] | 113 | <indexterm zone="wget wget-config">
|
---|
| 114 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
|
---|
| 115 | </indexterm>
|
---|
[bab92281] | 116 |
|
---|
[db0eb6a] | 117 | <indexterm zone="wget wget-config">
|
---|
| 118 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
|
---|
| 119 | </indexterm>
|
---|
[bab92281] | 120 |
|
---|
[3f8305d] | 121 | <para>There are no changes required to these files.</para>
|
---|
[bab92281] | 122 |
|
---|
[db0eb6a] | 123 | </sect3>
|
---|
[bab92281] | 124 |
|
---|
[db0eb6a] | 125 | </sect2>
|
---|
[bab92281] | 126 |
|
---|
[db0eb6a] | 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Program</segtitle>
|
---|
| 132 | <segtitle>Installed Libraries</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 134 |
|
---|
[db0eb6a] | 135 | <seglistitem>
|
---|
| 136 | <seg>wget</seg>
|
---|
| 137 | <seg>None</seg>
|
---|
| 138 | <seg>None</seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
[bab92281] | 141 |
|
---|
[db0eb6a] | 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 146 |
|
---|
[db0eb6a] | 147 | <varlistentry id="wget-prog">
|
---|
| 148 | <term><command>wget</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para> retrieves files from the Web using the HTTP, HTTPS and
|
---|
[17e6d48] | 151 | FTP protocols. It is designed to be non-interactive, for
|
---|
[db0eb6a] | 152 | background or unattended operations.</para>
|
---|
| 153 | <indexterm zone="wget wget-prog">
|
---|
| 154 | <primary sortas="b-wget">wget</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
[bab92281] | 158 |
|
---|
[db0eb6a] | 159 | </variablelist>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
[f45b1953] | 162 |
|
---|
| 163 | </sect1>
|
---|