[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">
|
---|
[f5f7f9d] | 9 | <!ENTITY wget-md5sum "e6051f1e1487ec0ebfdbda72bedc70ad">
|
---|
[d47e7ea9] | 10 | <!ENTITY wget-size "1.3 MB">
|
---|
[ad070d1] | 11 | <!ENTITY wget-buildsize "7.7 MB">
|
---|
[d47e7ea9] | 12 | <!ENTITY wget-time "0.11 SBU">
|
---|
| 13 | ]>
|
---|
[def11b7] | 14 |
|
---|
[19234f1] | 15 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[00bb024c] | 20 | <?dbhtml filename="wget.html"?>
|
---|
[def11b7] | 21 | <title><application>Wget</application>-&wget-version;</title>
|
---|
[ad070d1] | 22 | <indexterm zone="wget">
|
---|
| 23 | <primary sortas="a-Wget">Wget</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[d47e7ea9] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>Wget</application></title>
|
---|
| 27 |
|
---|
| 28 | <para>The <application>Wget</application> package contains a utility useful for
|
---|
| 29 | non-interactive downloading of files from the Web.</para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
| 33 | <listitem><para>Download (HTTP): <ulink
|
---|
| 34 | url="&wget-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&wget-download-ftp;"/></para></listitem>
|
---|
[f5f7f9d] | 37 | <listitem><para>Download MD5 sum: &wget-md5sum;</para></listitem>
|
---|
[d47e7ea9] | 38 | <listitem><para>Download size: &wget-size;</para></listitem>
|
---|
[def11b7] | 39 | <listitem><para>Estimated disk space required:
|
---|
[d47e7ea9] | 40 | &wget-buildsize;</para></listitem>
|
---|
| 41 | <listitem><para>Estimated build time:
|
---|
| 42 | &wget-time;</para></listitem></itemizedlist>
|
---|
| 43 | </sect3>
|
---|
[def11b7] | 44 |
|
---|
[d47e7ea9] | 45 | <sect3><title><application>Wget</application> dependencies</title>
|
---|
| 46 | <sect4><title>Optional</title>
|
---|
[cef3a2f] | 47 | <para><xref linkend="openssl"/> and
|
---|
[def11b7] | 48 | <ulink url="http://www.inet.no/dante/">Dante</ulink></para>
|
---|
| 49 | </sect4>
|
---|
[d47e7ea9] | 50 | </sect3>
|
---|
| 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
| 55 | <title>Installation of <application>Wget</application></title>
|
---|
| 56 |
|
---|
[def11b7] | 57 | <para>Install <application>Wget</application> by running the following
|
---|
| 58 | commands:</para>
|
---|
[d47e7ea9] | 59 |
|
---|
| 60 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[ad070d1] | 61 | make</command></userinput></screen>
|
---|
| 62 |
|
---|
[7a9d769] | 63 | <para>This package does not come with a test suite.</para>
|
---|
| 64 |
|
---|
[ad070d1] | 65 | <para>Now, as the root user:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[d47e7ea9] | 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
| 72 | <title>Command explanations</title>
|
---|
| 73 |
|
---|
| 74 | <para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
---|
[ad070d1] | 75 | the configuration file from <filename class="directory">/usr/etc</filename> to
|
---|
[d47e7ea9] | 76 | <filename class="directory">/etc</filename>.</para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2>
|
---|
| 81 | <title>Configuring <application>Wget</application></title>
|
---|
| 82 |
|
---|
[ad070d1] | 83 | <sect3 id="wget-config"><title>Config files</title>
|
---|
[d47e7ea9] | 84 | <para><filename>/etc/wgetrc</filename>, <filename>~/.wgetrc</filename></para>
|
---|
[ad070d1] | 85 | <indexterm zone="wget wget-config">
|
---|
| 86 | <primary sortas="e-AA.wgetrc">~/.wgetrc</primary></indexterm>
|
---|
| 87 | <indexterm zone="wget wget-config">
|
---|
| 88 | <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary></indexterm>
|
---|
[d47e7ea9] | 89 |
|
---|
| 90 | <para>There are no required changes in these files.</para>
|
---|
| 91 | </sect3>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2>
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
[ad070d1] | 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Program</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
| 101 | <segtitle>Installed Directories</segtitle>
|
---|
| 102 |
|
---|
| 103 | <seglistitem>
|
---|
| 104 | <seg>wget</seg>
|
---|
| 105 | <seg>None</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
| 107 | </seglistitem>
|
---|
| 108 | </segmentedlist>
|
---|
| 109 |
|
---|
| 110 | <variablelist>
|
---|
| 111 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 112 | <?dbfo list-presentation="list"?>
|
---|
| 113 |
|
---|
| 114 | <varlistentry id="wget-prog">
|
---|
| 115 | <term><command>wget</command></term>
|
---|
| 116 | <listitem><para> retrieves files from the Web using the
|
---|
[d47e7ea9] | 117 | <acronym>HTTP</acronym>, <acronym>HTTPS</acronym> and
|
---|
| 118 | <acronym>FTP</acronym> protocols. It is designed to be non-interactive, for
|
---|
[ad070d1] | 119 | background or unattended operations.</para>
|
---|
| 120 | <indexterm zone="wget wget-prog">
|
---|
| 121 | <primary sortas="b-wget">wget</primary>
|
---|
| 122 | </indexterm></listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 | </variablelist>
|
---|
[d47e7ea9] | 125 |
|
---|
| 126 | </sect2>
|
---|
[f45b1953] | 127 |
|
---|
| 128 | </sect1>
|
---|
| 129 |
|
---|