source: networking/netprogs/wget.xml@ 8b281cb6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 8b281cb6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 6.1 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 "e89496b15f8bf039d723926fae4d91f5">
12 <!ENTITY wget-size "4.8 MB">
13 <!ENTITY wget-buildsize "40 MB (add 26 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
21 <title>Wget-&wget-version;</title>
22
23 <indexterm zone="wget">
24 <primary sortas="a-Wget">Wget</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to Wget</title>
29
30 <para>
31 The <application>Wget</application> package contains a utility useful for
32 non-interactive downloading of files from the Web.
33 </para>
34
35 &lfs112_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&wget-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&wget-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &wget-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &wget-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &wget-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &wget-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
75 <xref role="runtime" linkend="make-ca"/> (runtime)
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="gnutls"/>,
81 <xref linkend="perl-http-daemon"/> (for the test suite),
82 <xref linkend="perl-io-socket-ssl"/> (for the test suite),
83 <xref linkend="libidn2"/>,
84 <xref linkend="libpsl"/>,
85 <xref linkend="pcre"/> or <xref linkend="pcre2"/>, and
86 <xref linkend="valgrind"/> (for the test suite)
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/wget"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of Wget</title>
96
97 <para>
98 Install <application>Wget</application> by running the following commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr \
102 --sysconfdir=/etc \
103 --with-ssl=openssl &amp;&amp;
104make</userinput></screen>
105
106 <para>
107 To test the results, issue: <command>make check</command>.
108 </para>
109
110 <!-- libwww-perl/HTTP-Daemon/#21
111 Removing, since IO::Socket//INET6 has been deprecated
112 and replaced with IO::Socket::IP, which fixes the
113 problem
114 <para>
115 HTTPS tests are known to fail if Perl module IO::Socket::INET6
116 is installed.
117 </para>
118-->
119 <para>
120 Some tests may fail when Valgrind tests are enabled.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
135 file from <filename class="directory">/usr/etc</filename> to
136 <filename class="directory">/etc</filename>.
137 </para>
138
139 <para>
140 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
141 openssl instead of <xref linkend="gnutls"/>.
142 </para>
143
144 <para>
145 <option>--enable-valgrind-tests</option>: This allows the tests to be
146 run under valgrind.
147 </para>
148
149 </sect2>
150
151 <sect2 role="configuration">
152 <title>Configuring Wget</title>
153
154 <sect3 id="wget-config">
155 <title>Config Files</title>
156
157 <para>
158 <filename>/etc/wgetrc</filename> and
159 <filename>~/.wgetrc</filename>
160 </para>
161
162 <indexterm zone="wget wget-config">
163 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
164 </indexterm>
165
166 <indexterm zone="wget wget-config">
167 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
168 </indexterm>
169
170<!--
171 <para>
172 If you have installed <xref linkend="make-ca"/> and you want
173 <application>Wget</application> to use them, as the
174 <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
178-->
179
180 </sect3>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Program</segtitle>
189 <segtitle>Installed Libraries</segtitle>
190 <segtitle>Installed Directories</segtitle>
191
192 <seglistitem>
193 <seg>
194 wget
195 </seg>
196 <seg>
197 None
198 </seg>
199 <seg>
200 None
201 </seg>
202 </seglistitem>
203 </segmentedlist>
204
205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
209
210 <varlistentry id="wget-prog">
211 <term><command>wget</command></term>
212 <listitem>
213 <para>
214 retrieves files from the Web using the HTTP, HTTPS and FTP
215 protocols. It is designed to be non-interactive, for background or
216 unattended operations
217 </para>
218 <indexterm zone="wget wget-prog">
219 <primary sortas="b-wget">wget</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.