source: networking/netprogs/wget.xml@ fa5f6e9

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since fa5f6e9 was f4ac7141, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Remove many more forgotten ftp urls

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