source: networking/netprogs/wget.xml@ acf7e2c

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

Updates to Basic BLFS Chapter 3

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

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