[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 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">
|
---|
| 9 | <!ENTITY wget-size "1.3 MB">
|
---|
| 10 | <!ENTITY wget-buildsize "6.2 MB">
|
---|
| 11 | <!ENTITY wget-time "0.11 SBU">
|
---|
| 12 | ]>
|
---|
[19234f1] | 13 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[00bb024c] | 18 | <?dbhtml filename="wget.html"?>
|
---|
[19234f1] | 19 | <title>Wget-&wget-version;</title>
|
---|
[f45b1953] | 20 |
|
---|
[d47e7ea9] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>Wget</application></title>
|
---|
| 23 |
|
---|
| 24 | <para>The <application>Wget</application> package contains a utility useful for
|
---|
| 25 | non-interactive downloading of files from the Web.</para>
|
---|
| 26 |
|
---|
| 27 | <sect3><title>Package information</title>
|
---|
| 28 | <itemizedlist spacing='compact'>
|
---|
| 29 | <listitem><para>Download (HTTP): <ulink
|
---|
| 30 | url="&wget-download-http;"/></para></listitem>
|
---|
| 31 | <listitem><para>Download (FTP): <ulink
|
---|
| 32 | url="&wget-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &wget-size;</para></listitem>
|
---|
| 34 | <listitem><para>Estimated Disk space required:
|
---|
| 35 | &wget-buildsize;</para></listitem>
|
---|
| 36 | <listitem><para>Estimated build time:
|
---|
| 37 | &wget-time;</para></listitem></itemizedlist>
|
---|
| 38 | </sect3>
|
---|
| 39 |
|
---|
| 40 | <sect3><title><application>Wget</application> dependencies</title>
|
---|
| 41 | <sect4><title>Optional</title>
|
---|
| 42 | <para>
|
---|
| 43 | <xref linkend="openssl"/> and
|
---|
| 44 | <ulink url="http://www.inet.no/dante/">Dante</ulink>
|
---|
| 45 | </para></sect4>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2>
|
---|
| 51 | <title>Installation of <application>Wget</application></title>
|
---|
| 52 |
|
---|
| 53 | <para>Install <application>Wget</application> by running the following commands:
|
---|
| 54 | </para>
|
---|
| 55 |
|
---|
| 56 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 57 | make &&
|
---|
| 58 | make install</command></userinput></screen>
|
---|
| 59 |
|
---|
| 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2>
|
---|
| 63 | <title>Command explanations</title>
|
---|
| 64 |
|
---|
| 65 | <para><parameter>--prefix=/usr</parameter>: This compiles and installs
|
---|
| 66 | <command>wget</command> into the <filename class="directory">/usr</filename> hierarchy instead
|
---|
| 67 | of <filename class="directory">/usr/local</filename>.</para>
|
---|
| 68 |
|
---|
| 69 | <para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
---|
| 70 | the configuration file from <filename class="directory">/usr/etc</filename> to
|
---|
| 71 | <filename class="directory">/etc</filename>.</para>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Configuring <application>Wget</application></title>
|
---|
| 77 |
|
---|
| 78 | <sect3><title>Config files</title>
|
---|
| 79 | <para><filename>/etc/wgetrc</filename>, <filename>~/.wgetrc</filename></para>
|
---|
| 80 |
|
---|
| 81 | <para>There are no required changes in these files.</para>
|
---|
| 82 | </sect3>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2>
|
---|
| 87 | <title>Contents</title>
|
---|
| 88 |
|
---|
| 89 | <para>The <application>Wget</application> package contains <command>wget</command>.</para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2><title>Description</title>
|
---|
| 94 |
|
---|
| 95 | <sect3><title>wget</title>
|
---|
| 96 | <para><command>wget</command> retrieves files from the Web using the
|
---|
| 97 | <acronym>HTTP</acronym>, <acronym>HTTPS</acronym> and
|
---|
| 98 | <acronym>FTP</acronym> protocols. It is designed to be non-interactive, for
|
---|
| 99 | background or unattended operations.</para></sect3>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
[f45b1953] | 102 |
|
---|
| 103 | </sect1>
|
---|
| 104 |
|
---|