source: networking/netprogs/wget.xml@ ce72f6e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 ce72f6e was 6b241ec, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to taglib-1.10.
  • Update to cmake-3.4.0.
  • Update to wget-1.17.
  • Update to libinput-1.1.1.
  • Qt-5.5.1: add libinput-1.1.1 as optional dependency.

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

  • Property mode set to 100644
File size: 6.0 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
[61562907]8 "http://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
[78865d9]9 <!ENTITY wget-download-ftp
[61562907]10 "ftp://ftp.gnu.org/gnu/wget/wget-&wget-version;.tar.xz">
[6b241ec]11 <!ENTITY wget-md5sum "b8cff5a2f88f5ce60a2b0e361e030b46">
12 <!ENTITY wget-size "1.9 MB">
13 <!ENTITY wget-buildsize "28 MB (with tests)">
14 <!ENTITY wget-time "0.5 SBU (with tests)">
[d47e7ea9]15]>
[def11b7]16
[19234f1]17<sect1 id="wget" xreflabel="Wget-&wget-version;">
[db0eb6a]18 <?dbhtml filename="wget.html"?>
[bab92281]19
[db0eb6a]20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
[bab92281]24
[db0eb6a]25 <title>Wget-&wget-version;</title>
[bab92281]26
[db0eb6a]27 <indexterm zone="wget">
28 <primary sortas="a-Wget">Wget</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Wget</title>
[bab92281]33
[78865d9]34 <para>
35 The <application>Wget</application> package contains a utility useful for
36 non-interactive downloading of files from the Web.
37 </para>
[bab92281]38
[9912ce81]39 &lfs78_checked;
[1c65bfd]40
[db0eb6a]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[78865d9]44 <para>
45 Download (HTTP): <ulink url="&wget-download-http;"/>
46 </para>
[db0eb6a]47 </listitem>
48 <listitem>
[78865d9]49 <para>
50 Download (FTP): <ulink url="&wget-download-ftp;"/>
51 </para>
[db0eb6a]52 </listitem>
53 <listitem>
[78865d9]54 <para>
55 Download MD5 sum: &wget-md5sum;
56 </para>
[db0eb6a]57 </listitem>
58 <listitem>
[78865d9]59 <para>
60 Download size: &wget-size;
61 </para>
[db0eb6a]62 </listitem>
63 <listitem>
[78865d9]64 <para>
65 Estimated disk space required: &wget-buildsize;
66 </para>
[db0eb6a]67 </listitem>
68 <listitem>
[78865d9]69 <para>
70 Estimated build time: &wget-time;
71 </para>
[2174baa]72 </listitem>
[db0eb6a]73 </itemizedlist>
[bab92281]74
[db0eb6a]75 <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
[bab92281]76
[61562907]77 <bridgehead renderas="sect4">Recommended</bridgehead>
78 <para role="recommended">
[2c38e951]79 <xref linkend="gnutls"/>
[61562907]80 </para>
81
[db0eb6a]82 <bridgehead renderas="sect4">Optional</bridgehead>
[78865d9]83 <para role="optional">
84 <xref linkend="libidn"/>,
[2c38e951]85 <xref linkend="openssl"/>,
[8461a06]86 <xref linkend="pcre"/>;
[6b241ec]87 <xref linkend="valgrind"/> (optional for the test suite)
[8461a06]88 <ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>
[6b241ec]89 (required for the test suite), and
[11dadc69]90 <ulink url="https://github.com/rockdaboot/libpsl/">libpsl</ulink>
[78865d9]91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/wget"/>
95 </para>
[db0eb6a]96 </sect2>
[bab92281]97
[db0eb6a]98 <sect2 role="installation">
99 <title>Installation of Wget</title>
100
[78865d9]101 <para>
102 Install <application>Wget</application> by running the following commands:
103 </para>
[db0eb6a]104
[987fe4db]105<screen><userinput>./configure --prefix=/usr \
[36dacf3]106 --sysconfdir=/etc &amp;&amp;
[db0eb6a]107make</userinput></screen>
108
[78865d9]109 <para>
[2c38e951]110 To test the results, issue: <command>make check</command>. The HTTPS
111 tests fail if <application>openssl</application> is used and
112 <application>valgrind</application> is enabled.
[78865d9]113 </para>
[bab92281]114
[78865d9]115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
[bab92281]118
[db0eb6a]119<screen role="root"><userinput>make install</userinput></screen>
120 </sect2>
[bab92281]121
[db0eb6a]122 <sect2 role="commands">
123 <title>Command Explanations</title>
[bab92281]124
[78865d9]125 <para>
126 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
127 file from <filename class="directory">/usr/etc</filename> to
128 <filename class="directory">/etc</filename>.
129 </para>
130
131 <para>
[2c38e951]132 <option>--with-ssl=openssl</option>: This allows the program to use
[5c6f5793]133 <xref linkend="openssl"/> instead of <xref linkend="gnutls"/>. The
134 combination wget-1.6.3&mdash;openssl-1.0.2a is known to be broken.
[78865d9]135 </para>
[61562907]136
[4e74dd7]137 <para>
138 <option>--enable-valgrind-tests</option>: This allows the tests to be
[2c38e951]139 run under valgrind.
[4e74dd7]140 </para>
141
[db0eb6a]142 </sect2>
[bab92281]143
[db0eb6a]144 <sect2 role="configuration">
145 <title>Configuring Wget</title>
146
147 <sect3 id="wget-config">
148 <title>Config Files</title>
[bab92281]149
[78865d9]150 <para>
151 <filename>/etc/wgetrc</filename> and
152 <filename>~/.wgetrc</filename>
153 </para>
[bab92281]154
[db0eb6a]155 <indexterm zone="wget wget-config">
156 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
157 </indexterm>
[bab92281]158
[db0eb6a]159 <indexterm zone="wget wget-config">
160 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
161 </indexterm>
[bab92281]162
[78865d9]163 <para>
164 If you have installed the <xref linkend="cacerts"/> and you want
165 <application>Wget</application> to use them, as the
166 <systemitem class="username">root</systemitem> user:
167 </para>
[bab92281]168
[78865d9]169<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
[61562907]170
[db0eb6a]171 </sect3>
[61562907]172
[db0eb6a]173 </sect2>
[bab92281]174
[db0eb6a]175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Program</segtitle>
[c3c56b2]180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Directories</segtitle>
[bab92281]182
[db0eb6a]183 <seglistitem>
[c3c56b2]184 <seg>
185 wget
186 </seg>
187 <seg>
188 None
189 </seg>
190 <seg>
191 None
192 </seg>
[db0eb6a]193 </seglistitem>
194 </segmentedlist>
[bab92281]195
[db0eb6a]196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
[bab92281]200
[db0eb6a]201 <varlistentry id="wget-prog">
202 <term><command>wget</command></term>
203 <listitem>
[78865d9]204 <para>
205 retrieves files from the Web using the HTTP, HTTPS and FTP
206 protocols. It is designed to be non-interactive, for background or
207 unattended operations.
208 </para>
[db0eb6a]209 <indexterm zone="wget wget-prog">
210 <primary sortas="b-wget">wget</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
[61562907]214
[db0eb6a]215 </variablelist>
[61562907]216
[db0eb6a]217 </sect2>
[61562907]218
[f45b1953]219</sect1>
Note: See TracBrowser for help on using the repository browser.