2004-06-12 13:30:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-12 13:30:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY wget-download-http "http://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.gz">
|
|
|
|
<!ENTITY wget-download-ftp "ftp://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.gz">
|
2005-02-11 23:57:40 +08:00
|
|
|
<!ENTITY wget-md5sum "e6051f1e1487ec0ebfdbda72bedc70ad">
|
2004-06-12 13:30:15 +08:00
|
|
|
<!ENTITY wget-size "1.3 MB">
|
2005-03-24 23:24:47 +08:00
|
|
|
<!ENTITY wget-buildsize "7.7 MB">
|
2004-06-12 13:30:15 +08:00
|
|
|
<!ENTITY wget-time "0.11 SBU">
|
|
|
|
]>
|
2004-12-22 23:49:55 +08:00
|
|
|
|
2003-09-24 07:58:37 +08:00
|
|
|
<sect1 id="wget" xreflabel="Wget-&wget-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 10:32:10 +08:00
|
|
|
<?dbhtml filename="wget.html"?>
|
2004-12-22 23:49:55 +08:00
|
|
|
<title><application>Wget</application>-&wget-version;</title>
|
2005-03-24 23:24:47 +08:00
|
|
|
<indexterm zone="wget">
|
|
|
|
<primary sortas="a-Wget">Wget</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-12 13:30:15 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>Wget</application></title>
|
|
|
|
|
|
|
|
<para>The <application>Wget</application> package contains a utility useful for
|
|
|
|
non-interactive downloading of files from the Web.</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink
|
|
|
|
url="&wget-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink
|
|
|
|
url="&wget-download-ftp;"/></para></listitem>
|
2005-02-11 23:57:40 +08:00
|
|
|
<listitem><para>Download MD5 sum: &wget-md5sum;</para></listitem>
|
2004-06-12 13:30:15 +08:00
|
|
|
<listitem><para>Download size: &wget-size;</para></listitem>
|
2004-12-22 23:49:55 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-12 13:30:15 +08:00
|
|
|
&wget-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&wget-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
2004-12-22 23:49:55 +08:00
|
|
|
|
2004-06-12 13:30:15 +08:00
|
|
|
<sect3><title><application>Wget</application> dependencies</title>
|
|
|
|
<sect4><title>Optional</title>
|
2005-01-26 00:02:00 +08:00
|
|
|
<para><xref linkend="openssl"/> and
|
2004-12-22 23:49:55 +08:00
|
|
|
<ulink url="http://www.inet.no/dante/">Dante</ulink></para>
|
|
|
|
</sect4>
|
2004-06-12 13:30:15 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>Wget</application></title>
|
|
|
|
|
2004-12-22 23:49:55 +08:00
|
|
|
<para>Install <application>Wget</application> by running the following
|
|
|
|
commands:</para>
|
2004-06-12 13:30:15 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
2005-03-24 23:24:47 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
2005-04-05 06:51:21 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-03-24 23:24:47 +08:00
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-06-12 13:30:15 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
2005-03-24 23:24:47 +08:00
|
|
|
the configuration file from <filename class="directory">/usr/etc</filename> to
|
2004-06-12 13:30:15 +08:00
|
|
|
<filename class="directory">/etc</filename>.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>Wget</application></title>
|
|
|
|
|
2005-03-24 23:24:47 +08:00
|
|
|
<sect3 id="wget-config"><title>Config files</title>
|
2004-06-12 13:30:15 +08:00
|
|
|
<para><filename>/etc/wgetrc</filename>, <filename>~/.wgetrc</filename></para>
|
2005-03-24 23:24:47 +08:00
|
|
|
<indexterm zone="wget wget-config">
|
|
|
|
<primary sortas="e-AA.wgetrc">~/.wgetrc</primary></indexterm>
|
|
|
|
<indexterm zone="wget wget-config">
|
|
|
|
<primary sortas="e-etc-wgetrc">/etc/wgetrc</primary></indexterm>
|
2004-06-12 13:30:15 +08:00
|
|
|
|
|
|
|
<para>There are no required changes in these files.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-03-24 23:24:47 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>wget</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="wget-prog">
|
|
|
|
<term><command>wget</command></term>
|
|
|
|
<listitem><para> retrieves files from the Web using the
|
2004-06-12 13:30:15 +08:00
|
|
|
<acronym>HTTP</acronym>, <acronym>HTTPS</acronym> and
|
|
|
|
<acronym>FTP</acronym> protocols. It is designed to be non-interactive, for
|
2005-03-24 23:24:47 +08:00
|
|
|
background or unattended operations.</para>
|
|
|
|
<indexterm zone="wget wget-prog">
|
|
|
|
<primary sortas="b-wget">wget</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-06-12 13:30:15 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|