source: networking/netprogs/wget.xml@ e1100da

basic
Last change on this file since e1100da was e1100da, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Initial commit of basic branch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20509 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[d47e7ea9]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d47e7ea9]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[78865d9]7 <!ENTITY wget-download-http
[828b199]8 "&gnu-http;/wget/wget-&wget-version;.tar.gz">
[78865d9]9 <!ENTITY wget-download-ftp
[828b199]10 "&gnu-ftp;/wget/wget-&wget-version;.tar.gz">
[714b5e4c]11 <!ENTITY wget-md5sum "2db6f03d655041f82eb64b8c8a1fa7da">
12 <!ENTITY wget-size "4.2 MB">
13 <!ENTITY wget-buildsize "27 MB (add 8 MB for tests)">
14 <!ENTITY wget-time "0.3 SBU (add 0.2 SBU for tests)">
[d47e7ea9]15]>
[def11b7]16
[19234f1]17<sect1 id="wget" xreflabel="Wget-&wget-version;">
[db0eb6a]18 <?dbhtml filename="wget.html"?>
[bab92281]19
[db0eb6a]20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
[bab92281]24
[db0eb6a]25 <title>Wget-&wget-version;</title>
[bab92281]26
[db0eb6a]27 <indexterm zone="wget">
28 <primary sortas="a-Wget">Wget</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Wget</title>
[bab92281]33
[78865d9]34 <para>
35 The <application>Wget</application> package contains a utility useful for
36 non-interactive downloading of files from the Web.
37 </para>
[bab92281]38
[048b9a46]39 &lfs83_checked;
[1c65bfd]40
[db0eb6a]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[78865d9]44 <para>
45 Download (HTTP): <ulink url="&wget-download-http;"/>
46 </para>
[db0eb6a]47 </listitem>
48 <listitem>
[78865d9]49 <para>
50 Download (FTP): <ulink url="&wget-download-ftp;"/>
51 </para>
[db0eb6a]52 </listitem>
53 <listitem>
[78865d9]54 <para>
55 Download MD5 sum: &wget-md5sum;
56 </para>
[db0eb6a]57 </listitem>
58 <listitem>
[78865d9]59 <para>
60 Download size: &wget-size;
61 </para>
[db0eb6a]62 </listitem>
63 <listitem>
[78865d9]64 <para>
65 Estimated disk space required: &wget-buildsize;
66 </para>
[db0eb6a]67 </listitem>
68 <listitem>
[78865d9]69 <para>
70 Estimated build time: &wget-time;
71 </para>
[2174baa]72 </listitem>
[db0eb6a]73 </itemizedlist>
[bab92281]74
[db0eb6a]75 <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
[bab92281]76
[61562907]77 <bridgehead renderas="sect4">Recommended</bridgehead>
78 <para role="recommended">
[2198a32]79 <xref role="runtime" linkend="make-ca"/> (runtime)
[61562907]80 </para>
[e1100da]81<!--
[db0eb6a]82 <bridgehead renderas="sect4">Optional</bridgehead>
[78865d9]83 <para role="optional">
[87c38e8]84 <xref linkend="gnutls"/>,
[fabf04f7]85 <xref linkend="gpgme"/>,
[cb4330ab]86 <xref linkend="perl-http-daemon"/> (for the test suite),
87 <xref linkend="perl-io-socket-ssl"/> (for the test suite),
[2bfc338]88 <xref linkend="libidn2"/>,
[1ad3510e]89 <xref linkend="libpsl"/>,
[676a68ec]90 <xref linkend="pcre"/>,
[1ad3510e]91 <xref linkend="python2"/> (built with ssl; for the test suite), and
92 <xref linkend="valgrind"/> (for the test suite)
[78865d9]93 </para>
[e1100da]94-->
[78865d9]95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/wget"/>
97 </para>
[db0eb6a]98 </sect2>
[bab92281]99
[db0eb6a]100 <sect2 role="installation">
101 <title>Installation of Wget</title>
102
[78865d9]103 <para>
104 Install <application>Wget</application> by running the following commands:
105 </para>
[db0eb6a]106
[987fe4db]107<screen><userinput>./configure --prefix=/usr \
[87c38e8]108 --sysconfdir=/etc \
109 --with-ssl=openssl &amp;&amp;
[db0eb6a]110make</userinput></screen>
111
[78865d9]112 <para>
[73f65d9e]113 To test the results, issue: <command>make check</command>. Nine tests
114 fail if python2 was not built with SSL support.
[78865d9]115 </para>
[bab92281]116
[78865d9]117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
[bab92281]120
[db0eb6a]121<screen role="root"><userinput>make install</userinput></screen>
122 </sect2>
[bab92281]123
[db0eb6a]124 <sect2 role="commands">
125 <title>Command Explanations</title>
[bab92281]126
[78865d9]127 <para>
128 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
129 file from <filename class="directory">/usr/etc</filename> to
130 <filename class="directory">/etc</filename>.
131 </para>
132
133 <para>
[87c38e8]134 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
[e1100da]135 openssl instead of <!--<xref linkend="gnutls"/>. -->
[78865d9]136 </para>
[61562907]137
[4e74dd7]138 <para>
139 <option>--enable-valgrind-tests</option>: This allows the tests to be
[2c38e951]140 run under valgrind.
[4e74dd7]141 </para>
142
[db0eb6a]143 </sect2>
[bab92281]144
[db0eb6a]145 <sect2 role="configuration">
146 <title>Configuring Wget</title>
147
148 <sect3 id="wget-config">
149 <title>Config Files</title>
[bab92281]150
[78865d9]151 <para>
152 <filename>/etc/wgetrc</filename> and
153 <filename>~/.wgetrc</filename>
154 </para>
[bab92281]155
[db0eb6a]156 <indexterm zone="wget wget-config">
157 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
158 </indexterm>
[bab92281]159
[db0eb6a]160 <indexterm zone="wget wget-config">
161 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
162 </indexterm>
[bab92281]163
[6713ada]164<!--
[78865d9]165 <para>
[2198a32]166 If you have installed <xref linkend="make-ca"/> and you want
[78865d9]167 <application>Wget</application> to use them, as the
168 <systemitem class="username">root</systemitem> user:
169 </para>
[bab92281]170
[817374e]171<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
[6713ada]172-->
[61562907]173
[db0eb6a]174 </sect3>
[61562907]175
[db0eb6a]176 </sect2>
[bab92281]177
[db0eb6a]178 <sect2 role="content">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Program</segtitle>
[c3c56b2]183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
[bab92281]185
[db0eb6a]186 <seglistitem>
[c3c56b2]187 <seg>
188 wget
189 </seg>
190 <seg>
191 None
192 </seg>
193 <seg>
194 None
195 </seg>
[db0eb6a]196 </seglistitem>
197 </segmentedlist>
[bab92281]198
[db0eb6a]199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
[bab92281]203
[db0eb6a]204 <varlistentry id="wget-prog">
205 <term><command>wget</command></term>
206 <listitem>
[78865d9]207 <para>
208 retrieves files from the Web using the HTTP, HTTPS and FTP
209 protocols. It is designed to be non-interactive, for background or
210 unattended operations.
211 </para>
[db0eb6a]212 <indexterm zone="wget wget-prog">
213 <primary sortas="b-wget">wget</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
[61562907]217
[db0eb6a]218 </variablelist>
[61562907]219
[db0eb6a]220 </sect2>
[61562907]221
[f45b1953]222</sect1>
Note: See TracBrowser for help on using the repository browser.