source: networking/netprogs/wget.xml@ b6e7006

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 b6e7006 was 94b42903, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Archive openssl-1.1.x. Moved to LFS.
Update to v4l-utils-1.14.2.
Update to vlc-3.0.0.

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

  • Property mode set to 100644
File size: 6.1 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
[828b199]8 "&gnu-http;/wget/wget-&wget-version;.tar.gz">
[78865d9]9 <!ENTITY wget-download-ftp
[828b199]10 "&gnu-ftp;/wget/wget-&wget-version;.tar.gz">
[2b219f51]11 <!ENTITY wget-md5sum "a2a2c1dc4ac5003fc25a8e60b4a9464e">
[73f65d9e]12 <!ENTITY wget-size "4.1 MB">
13 <!ENTITY wget-buildsize "25 MB (add 4 MB for tests)">
14 <!ENTITY wget-time "0.2 SBU (add 0.2 SBU for 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
[ce63bfd2]39 &lfs81_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">
[94b42903]79 <xref role="runtime" linkend="cacerts"/> (runtime)
[61562907]80 </para>
81
[db0eb6a]82 <bridgehead renderas="sect4">Optional</bridgehead>
[78865d9]83 <para role="optional">
[87c38e8]84 <xref linkend="gnutls"/>,
[fabf04f7]85 <xref linkend="gpgme"/>,
[78865d9]86 <xref linkend="libidn"/>,
[676a68ec]87 <xref linkend="pcre"/>,
[73f65d9e]88 <xref linkend="python2"/> (built with ssl; for the test suite),
89 <xref linkend="valgrind"/> (for the test suite),
[676a68ec]90 <ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>,
91 <ulink url="http://search.cpan.org/~gaas/HTTP-Daemon/">HTTP::Daemon</ulink>
92 (both required for the test suite), and
[11dadc69]93 <ulink url="https://github.com/rockdaboot/libpsl/">libpsl</ulink>
[78865d9]94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/wget"/>
98 </para>
[db0eb6a]99 </sect2>
[bab92281]100
[db0eb6a]101 <sect2 role="installation">
102 <title>Installation of Wget</title>
103
[78865d9]104 <para>
105 Install <application>Wget</application> by running the following commands:
106 </para>
[db0eb6a]107
[987fe4db]108<screen><userinput>./configure --prefix=/usr \
[87c38e8]109 --sysconfdir=/etc \
110 --with-ssl=openssl &amp;&amp;
[db0eb6a]111make</userinput></screen>
112
[78865d9]113 <para>
[73f65d9e]114 To test the results, issue: <command>make check</command>. Nine tests
115 fail if python2 was not built with SSL support.
[78865d9]116 </para>
[bab92281]117
[78865d9]118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
[bab92281]121
[db0eb6a]122<screen role="root"><userinput>make install</userinput></screen>
123 </sect2>
[bab92281]124
[db0eb6a]125 <sect2 role="commands">
126 <title>Command Explanations</title>
[bab92281]127
[78865d9]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>
[87c38e8]135 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
[94b42903]136 openssl instead of <xref linkend="gnutls"/>.
[78865d9]137 </para>
[61562907]138
[4e74dd7]139 <para>
140 <option>--enable-valgrind-tests</option>: This allows the tests to be
[2c38e951]141 run under valgrind.
[4e74dd7]142 </para>
143
[db0eb6a]144 </sect2>
[bab92281]145
[db0eb6a]146 <sect2 role="configuration">
147 <title>Configuring Wget</title>
148
149 <sect3 id="wget-config">
150 <title>Config Files</title>
[bab92281]151
[78865d9]152 <para>
153 <filename>/etc/wgetrc</filename> and
154 <filename>~/.wgetrc</filename>
155 </para>
[bab92281]156
[db0eb6a]157 <indexterm zone="wget wget-config">
158 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
159 </indexterm>
[bab92281]160
[db0eb6a]161 <indexterm zone="wget wget-config">
162 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
163 </indexterm>
[bab92281]164
[6713ada]165<!--
[78865d9]166 <para>
167 If you have installed the <xref linkend="cacerts"/> and you want
168 <application>Wget</application> to use them, as the
169 <systemitem class="username">root</systemitem> user:
170 </para>
[bab92281]171
[817374e]172<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
[6713ada]173-->
[61562907]174
[db0eb6a]175 </sect3>
[61562907]176
[db0eb6a]177 </sect2>
[bab92281]178
[db0eb6a]179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Program</segtitle>
[c3c56b2]184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
[bab92281]186
[db0eb6a]187 <seglistitem>
[c3c56b2]188 <seg>
189 wget
190 </seg>
191 <seg>
192 None
193 </seg>
194 <seg>
195 None
196 </seg>
[db0eb6a]197 </seglistitem>
198 </segmentedlist>
[bab92281]199
[db0eb6a]200 <variablelist>
201 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
202 <?dbfo list-presentation="list"?>
203 <?dbhtml list-presentation="table"?>
[bab92281]204
[db0eb6a]205 <varlistentry id="wget-prog">
206 <term><command>wget</command></term>
207 <listitem>
[78865d9]208 <para>
209 retrieves files from the Web using the HTTP, HTTPS and FTP
210 protocols. It is designed to be non-interactive, for background or
211 unattended operations.
212 </para>
[db0eb6a]213 <indexterm zone="wget wget-prog">
214 <primary sortas="b-wget">wget</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
[61562907]218
[db0eb6a]219 </variablelist>
[61562907]220
[db0eb6a]221 </sect2>
[61562907]222
[f45b1953]223</sect1>
Note: See TracBrowser for help on using the repository browser.