source: networking/netprogs/wget.xml@ 105267f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 105267f was 43380ba, checked in by Ken Moffat <ken@…>, 5 years ago

IO::Socket::SSL-2.062 and Net::SSLeay-1.86_06. I have been unable to test the wget command, the link stopped working in wget a few hours ago, although in firefox it continues to be ok.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21253 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 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 "f6ebe9c7b375fc9832fb1b2028271fb7">
12 <!ENTITY wget-size "4.2 MB">
13 <!ENTITY wget-buildsize "33 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 &lfs84_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 <xref linkend="gnutls"/>,
85 <xref linkend="gpgme"/>,
86 <xref linkend="perl-http-daemon"/> (for the test suite),
87 <xref linkend="perl-io-socket-ssl"/> (for the test suite),
88 <xref linkend="libidn2"/>,
89 <xref linkend="libpsl"/>,
90 <xref linkend="pcre"/> or <xref linkend="pcre2"/>,
91 <xref linkend="python2"/> (built with ssl; for the test suite), and
92 <xref linkend="valgrind"/> (for the test suite)
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>.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install</userinput></screen>
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
128 file from <filename class="directory">/usr/etc</filename> to
129 <filename class="directory">/etc</filename>.
130 </para>
131
132 <para>
133 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
134 openssl instead of <xref linkend="gnutls"/>.
135 </para>
136
137 <para>
138 <option>--enable-valgrind-tests</option>: This allows the tests to be
139 run under valgrind.
140 </para>
141
142 </sect2>
143
144 <sect2 role="configuration">
145 <title>Configuring Wget</title>
146
147 <sect3 id="wget-config">
148 <title>Config Files</title>
149
150 <para>
151 <filename>/etc/wgetrc</filename> and
152 <filename>~/.wgetrc</filename>
153 </para>
154
155 <indexterm zone="wget wget-config">
156 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
157 </indexterm>
158
159 <indexterm zone="wget wget-config">
160 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
161 </indexterm>
162
163<!--
164 <para>
165 If you have installed <xref linkend="make-ca"/> 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
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Program</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>
187 wget
188 </seg>
189 <seg>
190 None
191 </seg>
192 <seg>
193 None
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="wget-prog">
204 <term><command>wget</command></term>
205 <listitem>
206 <para>
207 retrieves files from the Web using the HTTP, HTTPS and FTP
208 protocols. It is designed to be non-interactive, for background or
209 unattended operations.
210 </para>
211 <indexterm zone="wget wget-prog">
212 <primary sortas="b-wget">wget</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 </variablelist>
218
219 </sect2>
220
221</sect1>
Note: See TracBrowser for help on using the repository browser.