source: networking/netprogs/wget.xml@ 660bc6a

10.0 10.1 11.0 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 660bc6a was 660bc6a, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Update to wget-1.19
Update to epiphany-3.22.6

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18251 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 "http://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
9 <!ENTITY wget-download-ftp
10 "ftp://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
11 <!ENTITY wget-md5sum "1814393c5955a6148ff6d82c4a9e3c21">
12 <!ENTITY wget-size "2.0 MB">
13 <!ENTITY wget-buildsize "32 MB (with tests)">
14 <!ENTITY wget-time "0.4 SBU (with 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 &lfs7a_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 linkend="openssl"/> and
80 <xref linkend="python3"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="gnutls"/>,
86 <xref linkend="libidn"/>,
87 <xref linkend="pcre"/>,
88 <xref linkend="valgrind"/> (optional for the test suite),
89 <ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>,
90 <ulink url="http://search.cpan.org/~gaas/HTTP-Daemon/">HTTP::Daemon</ulink>
91 (both required for the test suite), and
92 <ulink url="https://github.com/rockdaboot/libpsl/">libpsl</ulink>
93 </para>
94
95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/wget"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of Wget</title>
102
103 <para>
104 Install <application>Wget</application> by running the following commands:
105 </para>
106
107<screen><userinput>./configure --prefix=/usr \
108 --sysconfdir=/etc \
109 --with-ssl=openssl &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 To test the results, issue: <command>make check</command>. The HTTPS
114 tests fail if <application>valgrind</application> is enabled.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>make install</userinput></screen>
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
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>
134 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
135 <xref linkend="openssl"/> instead of <xref linkend="gnutls"/>.
136 </para>
137
138 <para>
139 <option>--enable-valgrind-tests</option>: This allows the tests to be
140 run under valgrind.
141 </para>
142
143 </sect2>
144
145 <sect2 role="configuration">
146 <title>Configuring Wget</title>
147
148 <sect3 id="wget-config">
149 <title>Config Files</title>
150
151 <para>
152 <filename>/etc/wgetrc</filename> and
153 <filename>~/.wgetrc</filename>
154 </para>
155
156 <indexterm zone="wget wget-config">
157 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
158 </indexterm>
159
160 <indexterm zone="wget wget-config">
161 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
162 </indexterm>
163
164 <para>
165 If you have installed the <xref linkend="cacerts"/> and you want
166 <application>Wget</application> to use them, as the
167 <systemitem class="username">root</systemitem> user:
168 </para>
169
170<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
171
172 </sect3>
173
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Program</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>
186 wget
187 </seg>
188 <seg>
189 None
190 </seg>
191 <seg>
192 None
193 </seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="wget-prog">
203 <term><command>wget</command></term>
204 <listitem>
205 <para>
206 retrieves files from the Web using the HTTP, HTTPS and FTP
207 protocols. It is designed to be non-interactive, for background or
208 unattended operations.
209 </para>
210 <indexterm zone="wget wget-prog">
211 <primary sortas="b-wget">wget</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.