source: networking/netprogs/wget.xml@ 0f9076d

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 0f9076d was 78865d9, checked in by Andrew Benton <andy@…>, 12 years ago

added a note about the ca certs to the wget page

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

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