source: networking/netprogs/wget.xml@ 4e74dd7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 4e74dd7 was 4e74dd7, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to wget-1.16.1.
Update to x264-snapshot-20141208.
Change some package place in packages.ent.

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