source: networking/netprogs/wget.xml@ 6e513ed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6e513ed was 6e513ed, checked in by Igor Živković <igor@…>, 11 years ago

Noted Wget compilation problem with pod2man from the latest Perl.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11268 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 "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 "316f6f59292c9098ad81fd54f658c579">
12 <!ENTITY wget-size "1.6 MB">
13 <!ENTITY wget-buildsize "21 MB">
14 <!ENTITY wget-time "0.4 SBU">
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 &lfs73_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"/> or <xref linkend="gnutls"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="libidn"/>,
85 <xref linkend="pcre"/>,
86 <xref linkend="perl-lwp"/> (required for the majority of the test suite), and
87 <ulink url="http://www.inet.no/dante/">Dante</ulink>
88 </para>
89
90 <para condition="html" role="usernotes">
91 User Notes: <ulink url="&blfs-wiki;/wget"/>
92 </para>
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Wget</title>
97
98 <para>
99 Install <application>Wget</application> by running the following commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr \
103 --sysconfdir=/etc \
104 --with-ssl=openssl &amp;&amp;
105make</userinput></screen>
106
107 <note>
108 <para><command>make</command> will fail if you have installed Perl version
109 5.18.0 or later as the <command>pod2man</command> script was changed. This
110 is actually only a warning, and not a fatal error. Running
111 <command>make</command> a second time will terminate correctly.</para>
112 </note>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install</userinput></screen>
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para>
129 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
130 file from <filename class="directory">/usr/etc</filename> to
131 <filename class="directory">/etc</filename>.
132 </para>
133
134 <para>
135 <parameter>--with-ssl=openssl</parameter>: This allows the program to work
136 with <xref linkend="openssl"/>. It can be omitted if
137 <xref linkend="gnutls"/> is found or the HTTPS protocol is not needed.
138 </para>
139
140 </sect2>
141
142 <sect2 role="configuration">
143 <title>Configuring Wget</title>
144
145 <sect3 id="wget-config">
146 <title>Config Files</title>
147
148 <para>
149 <filename>/etc/wgetrc</filename> and
150 <filename>~/.wgetrc</filename>
151 </para>
152
153 <indexterm zone="wget wget-config">
154 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
155 </indexterm>
156
157 <indexterm zone="wget wget-config">
158 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
159 </indexterm>
160
161 <para>
162 If you have installed the <xref linkend="cacerts"/> and you want
163 <application>Wget</application> to use them, as the
164 <systemitem class="username">root</systemitem> user:
165 </para>
166
167<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Program</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>
183 wget
184 </seg>
185 <seg>
186 None
187 </seg>
188 <seg>
189 None
190 </seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="wget-prog">
200 <term><command>wget</command></term>
201 <listitem>
202 <para>
203 retrieves files from the Web using the HTTP, HTTPS and FTP
204 protocols. It is designed to be non-interactive, for background or
205 unattended operations.
206 </para>
207 <indexterm zone="wget wget-prog">
208 <primary sortas="b-wget">wget</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 </variablelist>
214
215 </sect2>
216
217</sect1>
Note: See TracBrowser for help on using the repository browser.