source: networking/netprogs/wget.xml@ e77eea37

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e77eea37 was 11dadc69, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to Wget-1.16.

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

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