source: networking/netprogs/wget.xml@ 6713ada

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 6713ada was 6713ada, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Fix wget page for ca-certs

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