[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY wget-download-http "http://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.gz">
|
---|
| 8 | <!ENTITY wget-download-ftp "ftp://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.gz">
|
---|
[b6e5d3a1] | 9 | <!ENTITY wget-md5sum "795fefbb7099f93e2d346b026785c4b8">
|
---|
[96baa24] | 10 | <!ENTITY wget-size "1.2 MB">
|
---|
| 11 | <!ENTITY wget-buildsize "8.7 MB">
|
---|
| 12 | <!ENTITY wget-time "0.1 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>
|
---|
[4dbbf634] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">wget-&wget-version;.tar</keyword>
|
---|
[25475f5] | 23 | <keyword role="ftpdir">wget</keyword>
|
---|
[4dbbf634] | 24 | </keywordset>
|
---|
[db0eb6a] | 25 | </sect1info>
|
---|
[bab92281] | 26 |
|
---|
[db0eb6a] | 27 | <title>Wget-&wget-version;</title>
|
---|
[bab92281] | 28 |
|
---|
[db0eb6a] | 29 | <indexterm zone="wget">
|
---|
| 30 | <primary sortas="a-Wget">Wget</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Wget</title>
|
---|
[bab92281] | 35 |
|
---|
[3f8305d] | 36 | <para>The <application>Wget</application> package contains a utility useful
|
---|
| 37 | for non-interactive downloading of files from the Web.</para>
|
---|
[bab92281] | 38 |
|
---|
[db0eb6a] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&wget-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&wget-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &wget-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &wget-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &wget-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2174baa] | 57 | <para>Estimated build time: &wget-time;</para>
|
---|
| 58 | </listitem>
|
---|
[db0eb6a] | 59 | </itemizedlist>
|
---|
[bab92281] | 60 |
|
---|
[db0eb6a] | 61 | <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
|
---|
[bab92281] | 62 |
|
---|
[db0eb6a] | 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 64 | <para role="optional"><xref linkend="openssl"/> 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 |
|
---|
| 78 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 79 | make</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | <para>This package does not come with a test suite.</para>
|
---|
[bab92281] | 82 |
|
---|
[db0eb6a] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[bab92281] | 84 |
|
---|
[db0eb6a] | 85 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bab92281] | 86 |
|
---|
[db0eb6a] | 87 | </sect2>
|
---|
[bab92281] | 88 |
|
---|
[db0eb6a] | 89 | <sect2 role="commands">
|
---|
| 90 | <title>Command Explanations</title>
|
---|
[bab92281] | 91 |
|
---|
[db0eb6a] | 92 | <para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
---|
[17e6d48] | 93 | the configuration file from <filename class="directory">/usr/etc</filename> to
|
---|
[db0eb6a] | 94 | <filename class="directory">/etc</filename>.</para>
|
---|
[bab92281] | 95 |
|
---|
[db0eb6a] | 96 | </sect2>
|
---|
[bab92281] | 97 |
|
---|
[db0eb6a] | 98 | <sect2 role="configuration">
|
---|
| 99 | <title>Configuring Wget</title>
|
---|
| 100 |
|
---|
| 101 | <sect3 id="wget-config">
|
---|
| 102 | <title>Config Files</title>
|
---|
[bab92281] | 103 |
|
---|
[db0eb6a] | 104 | <para><filename>/etc/wgetrc</filename> and
|
---|
| 105 | <filename>~/.wgetrc</filename></para>
|
---|
[bab92281] | 106 |
|
---|
[db0eb6a] | 107 | <indexterm zone="wget wget-config">
|
---|
| 108 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
|
---|
| 109 | </indexterm>
|
---|
[bab92281] | 110 |
|
---|
[db0eb6a] | 111 | <indexterm zone="wget wget-config">
|
---|
| 112 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
|
---|
| 113 | </indexterm>
|
---|
[bab92281] | 114 |
|
---|
[3f8305d] | 115 | <para>There are no changes required to these files.</para>
|
---|
[bab92281] | 116 |
|
---|
[db0eb6a] | 117 | </sect3>
|
---|
[bab92281] | 118 |
|
---|
[db0eb6a] | 119 | </sect2>
|
---|
[bab92281] | 120 |
|
---|
[db0eb6a] | 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Program</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 128 |
|
---|
[db0eb6a] | 129 | <seglistitem>
|
---|
| 130 | <seg>wget</seg>
|
---|
| 131 | <seg>None</seg>
|
---|
| 132 | <seg>None</seg>
|
---|
| 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
[bab92281] | 135 |
|
---|
[db0eb6a] | 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 140 |
|
---|
[db0eb6a] | 141 | <varlistentry id="wget-prog">
|
---|
| 142 | <term><command>wget</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para> retrieves files from the Web using the HTTP, HTTPS and
|
---|
[17e6d48] | 145 | FTP protocols. It is designed to be non-interactive, for
|
---|
[db0eb6a] | 146 | background or unattended operations.</para>
|
---|
| 147 | <indexterm zone="wget wget-prog">
|
---|
| 148 | <primary sortas="b-wget">wget</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
[bab92281] | 152 |
|
---|
[db0eb6a] | 153 | </variablelist>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
[f45b1953] | 156 |
|
---|
| 157 | </sect1>
|
---|