[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 | ]>
|
---|
[def11b7] | 13 |
|
---|
[19234f1] | 14 | <sect1 id="wget" xreflabel="Wget-&wget-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[00bb024c] | 19 | <?dbhtml filename="wget.html"?>
|
---|
[def11b7] | 20 | <title><application>Wget</application>-&wget-version;</title>
|
---|
[f45b1953] | 21 |
|
---|
[d47e7ea9] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Wget</application></title>
|
---|
| 24 |
|
---|
| 25 | <para>The <application>Wget</application> package contains a utility useful for
|
---|
| 26 | non-interactive downloading of files from the Web.</para>
|
---|
| 27 |
|
---|
| 28 | <sect3><title>Package information</title>
|
---|
| 29 | <itemizedlist spacing='compact'>
|
---|
| 30 | <listitem><para>Download (HTTP): <ulink
|
---|
| 31 | url="&wget-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink
|
---|
| 33 | url="&wget-download-ftp;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download size: &wget-size;</para></listitem>
|
---|
[def11b7] | 35 | <listitem><para>Estimated disk space required:
|
---|
[d47e7ea9] | 36 | &wget-buildsize;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated build time:
|
---|
| 38 | &wget-time;</para></listitem></itemizedlist>
|
---|
| 39 | </sect3>
|
---|
[def11b7] | 40 |
|
---|
[d47e7ea9] | 41 | <sect3><title><application>Wget</application> dependencies</title>
|
---|
| 42 | <sect4><title>Optional</title>
|
---|
[939cf0da] | 43 | <para><xref linkend="openssl-package"/> and
|
---|
[def11b7] | 44 | <ulink url="http://www.inet.no/dante/">Dante</ulink></para>
|
---|
| 45 | </sect4>
|
---|
[d47e7ea9] | 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2>
|
---|
| 51 | <title>Installation of <application>Wget</application></title>
|
---|
| 52 |
|
---|
[def11b7] | 53 | <para>Install <application>Wget</application> by running the following
|
---|
| 54 | commands:</para>
|
---|
[d47e7ea9] | 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
|
---|
[def11b7] | 66 | <command>wget</command> into the <filename class="directory">/usr</filename>
|
---|
| 67 | hierarchy instead of <filename class="directory">/usr/local</filename>.</para>
|
---|
[d47e7ea9] | 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 |
|
---|
[def11b7] | 89 | <para>The <application>Wget</application> package contains
|
---|
| 90 | <command>wget</command>.</para>
|
---|
[d47e7ea9] | 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2><title>Description</title>
|
---|
| 95 |
|
---|
| 96 | <sect3><title>wget</title>
|
---|
| 97 | <para><command>wget</command> retrieves files from the Web using the
|
---|
| 98 | <acronym>HTTP</acronym>, <acronym>HTTPS</acronym> and
|
---|
| 99 | <acronym>FTP</acronym> protocols. It is designed to be non-interactive, for
|
---|
| 100 | background or unattended operations.</para></sect3>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
[f45b1953] | 103 |
|
---|
| 104 | </sect1>
|
---|
| 105 |
|
---|