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