mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
f5f7f9d980
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3439 af4574ff-66df-0310-9fd7-8a98e5e911e0
108 lines
3.3 KiB
XML
108 lines
3.3 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!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">
|
|
<!ENTITY wget-md5sum "e6051f1e1487ec0ebfdbda72bedc70ad">
|
|
<!ENTITY wget-size "1.3 MB">
|
|
<!ENTITY wget-buildsize "6.2 MB">
|
|
<!ENTITY wget-time "0.11 SBU">
|
|
]>
|
|
|
|
<sect1 id="wget" xreflabel="Wget-&wget-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="wget.html"?>
|
|
<title><application>Wget</application>-&wget-version;</title>
|
|
|
|
<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>
|
|
<listitem><para>Download MD5 sum: &wget-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &wget-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&wget-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&wget-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Wget</application> dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="openssl"/> and
|
|
<ulink url="http://www.inet.no/dante/">Dante</ulink></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Wget</application></title>
|
|
|
|
<para>Install <application>Wget</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--prefix=/usr</parameter>: This compiles and installs
|
|
<command>wget</command> into the <filename class="directory">/usr</filename>
|
|
hierarchy instead of <filename class="directory">/usr/local</filename>.</para>
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This relocates
|
|
the configuration file from <filename class="directory">/usr/etc</filename> to
|
|
<filename class="directory">/etc</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>Wget</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/wgetrc</filename>, <filename>~/.wgetrc</filename></para>
|
|
|
|
<para>There are no required changes in these files.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Wget</application> package contains
|
|
<command>wget</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>wget</title>
|
|
<para><command>wget</command> retrieves files from the Web using the
|
|
<acronym>HTTP</acronym>, <acronym>HTTPS</acronym> and
|
|
<acronym>FTP</acronym> protocols. It is designed to be non-interactive, for
|
|
background or unattended operations.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|