source: networking/netprogs/wget.xml@ ad0f8da

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ad0f8da was ad0f8da, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Start tagging for 7.4

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

  • Property mode set to 100644
File size: 5.9 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">
11 <!ENTITY wget-md5sum "316f6f59292c9098ad81fd54f658c579">
12 <!ENTITY wget-size "1.6 MB">
13 <!ENTITY wget-buildsize "21 MB">
[ce4cc4c]14 <!ENTITY wget-time "0.4 SBU">
[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
[ad0f8da]39 &lfs74_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
[4b6689d0]75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/wget-&wget-version;-texi2pod-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84
[db0eb6a]85 <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
[bab92281]86
[61562907]87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="openssl"/> or <xref linkend="gnutls"/>
90 </para>
91
[db0eb6a]92 <bridgehead renderas="sect4">Optional</bridgehead>
[78865d9]93 <para role="optional">
94 <xref linkend="libidn"/>,
[f2f7b12]95 <xref linkend="pcre"/>,
96 <xref linkend="perl-lwp"/> (required for the majority of the test suite), and
[78865d9]97 <ulink url="http://www.inet.no/dante/">Dante</ulink>
98 </para>
99
100 <para condition="html" role="usernotes">
101 User Notes: <ulink url="&blfs-wiki;/wget"/>
102 </para>
[db0eb6a]103 </sect2>
[bab92281]104
[db0eb6a]105 <sect2 role="installation">
106 <title>Installation of Wget</title>
107
[78865d9]108 <para>
109 Install <application>Wget</application> by running the following commands:
110 </para>
[db0eb6a]111
[4b6689d0]112<screen><userinput>patch -Np1 -i ../wget-&wget-version;-texi2pod-1.patch &amp;&amp;
113
114./configure --prefix=/usr \
[78865d9]115 --sysconfdir=/etc \
[ce4cc4c]116 --with-ssl=openssl &amp;&amp;
[db0eb6a]117make</userinput></screen>
118
[78865d9]119 <para>
120 To test the results, issue: <command>make check</command>.
121 </para>
[bab92281]122
[78865d9]123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
[bab92281]126
[db0eb6a]127<screen role="root"><userinput>make install</userinput></screen>
128 </sect2>
[bab92281]129
[db0eb6a]130 <sect2 role="commands">
131 <title>Command Explanations</title>
[bab92281]132
[78865d9]133 <para>
134 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
135 file from <filename class="directory">/usr/etc</filename> to
136 <filename class="directory">/etc</filename>.
137 </para>
138
139 <para>
140 <parameter>--with-ssl=openssl</parameter>: This allows the program to work
141 with <xref linkend="openssl"/>. It can be omitted if
[0d7900a]142 <xref linkend="gnutls"/> is found or the HTTPS protocol is not needed.
[78865d9]143 </para>
[61562907]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
[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
[78865d9]172<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
[61562907]173
[db0eb6a]174 </sect3>
[61562907]175
[db0eb6a]176 </sect2>
[bab92281]177
[db0eb6a]178 <sect2 role="content">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Program</segtitle>
[c3c56b2]183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
[bab92281]185
[db0eb6a]186 <seglistitem>
[c3c56b2]187 <seg>
188 wget
189 </seg>
190 <seg>
191 None
192 </seg>
193 <seg>
194 None
195 </seg>
[db0eb6a]196 </seglistitem>
197 </segmentedlist>
[bab92281]198
[db0eb6a]199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
[bab92281]203
[db0eb6a]204 <varlistentry id="wget-prog">
205 <term><command>wget</command></term>
206 <listitem>
[78865d9]207 <para>
208 retrieves files from the Web using the HTTP, HTTPS and FTP
209 protocols. It is designed to be non-interactive, for background or
210 unattended operations.
211 </para>
[db0eb6a]212 <indexterm zone="wget wget-prog">
213 <primary sortas="b-wget">wget</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
[61562907]217
[db0eb6a]218 </variablelist>
[61562907]219
[db0eb6a]220 </sect2>
[61562907]221
[f45b1953]222</sect1>
Note: See TracBrowser for help on using the repository browser.