source: networking/netlibs/curl.xml@ 3844cf2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 3844cf2 was f473955, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to cups-filters-1.0.49 and curl-7.36.0. Fix build of pycairo-1.10.0 with python-3.4, thanks Wayne B.

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

  • Property mode set to 100644
File size: 7.1 KB
RevLine 
[bf8ac01]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" [
[a2d8572]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[8e2075c]6
[355495ce]7 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
[2b8421c]8 <!ENTITY curl-download-ftp " ">
[f473955]9 <!ENTITY curl-md5sum "e6d1f9d1b59da5062109ffe14e0569a4">
[b9e1a58]10 <!ENTITY curl-size "2.7 MB">
[dac0ab8]11 <!ENTITY curl-buildsize "31 MB (additional 7 MB for tests)">
[f473955]12 <!ENTITY curl-time "0.4 SBU (additional 8.9 SBU for tests)">
[a2d8572]13]>
14
[377584f]15<sect1 id="curl" xreflabel="cURL-&curl-version;">
[bf8ac01]16 <?dbhtml filename="curl.html"?>
[dc775a26]17
[bf8ac01]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
[55329727]20 <date>$Date$</date>
[bf8ac01]21 </sect1info>
[dc775a26]22
[3e89149]23 <title>cURL-&curl-version;</title>
[dc775a26]24
[bf8ac01]25 <indexterm zone="curl">
[3e89149]26 <primary sortas="a-cURL">cURL</primary>
[bf8ac01]27 </indexterm>
[dc775a26]28
[bf8ac01]29 <sect2 role="package">
[3e89149]30 <title>Introduction to cURL</title>
[dc775a26]31
[355495ce]32 <para>
[4fcead9]33 The <application>cURL</application> package contains a utility
[ea21196]34 and a library used for transferring files with URL syntax to any of
35 the following protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP,
36 TELNET, DICT, LDAP, LDAPS and FILE. Its ability to both download
37 and upload files can be incorporated into other programs to support
38 functions like streaming media.
[355495ce]39 </para>
[dc775a26]40
[fd4dbec]41 &lfs75_checked;
[2b8421c]42
[bf8ac01]43 <bridgehead renderas="sect3">Package Information</bridgehead>
[874fec7f]44 <itemizedlist spacing="compact">
[bf8ac01]45 <listitem>
[355495ce]46 <para>
47 Download (HTTP): <ulink url="&curl-download-http;"/>
48 </para>
[bf8ac01]49 </listitem>
50 <listitem>
[355495ce]51 <para>
52 Download (FTP): <ulink url="&curl-download-ftp;"/>
53 </para>
[bf8ac01]54 </listitem>
55 <listitem>
[355495ce]56 <para>
57 Download MD5 sum: &curl-md5sum;
58 </para>
[bf8ac01]59 </listitem>
60 <listitem>
[355495ce]61 <para>
62 Download size: &curl-size;
63 </para>
[bf8ac01]64 </listitem>
65 <listitem>
[355495ce]66 <para>
67 Estimated disk space required: &curl-buildsize;
68 </para>
[bf8ac01]69 </listitem>
70 <listitem>
[355495ce]71 <para>
72 Estimated build time: &curl-time;
73 </para>
[bf8ac01]74 </listitem>
75 </itemizedlist>
[dc775a26]76
[3e89149]77 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
[dc775a26]78
[355495ce]79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="cacerts"/> and
82 <xref linkend="openssl"/> or <xref linkend="gnutls"/>
83 </para>
84
[bf8ac01]85 <bridgehead renderas="sect4">Optional</bridgehead>
[355495ce]86 <para role="optional">
87 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink>,
88 <xref linkend="libidn"/>,
[c627795]89 <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
[355495ce]90 <ulink url="http://www.libssh2.org">libssh2</ulink>,
91 <xref linkend="mitkrb"/>,
92 <xref linkend="openldap"/> and
93 <ulink url="http://www.vintela.com/resources/topics/spnego/">
94 SPNEGO</ulink>
95 </para>
96
97 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
98 <para role="optional">
99 <xref linkend="stunnel"/> (for the HTTPS and FTPS tests)
100 </para>
[c5e7d76]101
[061ec9d]102 <para condition="html" role="usernotes">User Notes:
[355495ce]103 <ulink url="&blfs-wiki;/curl"/>
104 </para>
[bf8ac01]105 </sect2>
[dc775a26]106
[bf8ac01]107 <sect2 role="installation">
[3e89149]108 <title>Installation of cURL</title>
[dc775a26]109
[355495ce]110 <para>
111 Install <application>cURL</application> by running the following
112 commands:
113 </para>
[dc775a26]114
[f25b43cb]115<screen><userinput>./configure --prefix=/usr \
[fdd7a91]116 --disable-static \
[b9e1a58]117 --enable-threaded-resolver &amp;&amp;
[bf8ac01]118make</userinput></screen>
[dc775a26]119
[355495ce]120 <para>
[f473955]121 To test the results, issue: <command>make test</command>. Some tests may
122 fail for unknown reasons.
[355495ce]123 </para>
[dc775a26]124
[355495ce]125 <para>
126 Now, as the <systemitem class="username">root</systemitem>
127 user:
128 </para>
[dc775a26]129
[874fec7f]130<screen role="root"><userinput>make install &amp;&amp;
131find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" \) -exec rm {} \; &amp;&amp;
[951fac10]132install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[ad426ac]133cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[bf8ac01]134 </sect2>
[dc775a26]135
[bf8ac01]136 <sect2 role="commands">
137 <title>Command Explanations</title>
[dc775a26]138
[c627795]139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
[f25b43cb]141
[fdd7a91]142 <para>
143 <parameter>--enable-threaded-resolver</parameter>: This switch enables
144 <application>cURL</application>'s builtin threaded DNS resolver.
145 </para>
146
[355495ce]147 <para>
148 <option>--with-gssapi</option>: This parameter adds
149 <application>Kerberos 5</application> support to
150 <filename class="libraryfile">libcurl</filename>.
151 </para>
152
153 <para>
154 <option>--without-ssl --with-gnutls</option>: Use to
155 build with <application>GnuTLS</application> support
156 instead of <application>OpenSSL</application> for SSL/TLS.
157 </para>
[b834dfc7]158
[355495ce]159 <para>
160 <command>find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3"
161 \) -exec rm {} \;</command>: This command removes
162 <filename>Makefiles</filename> and man files from the documentation
163 directory that would otherwise be installed by the commands that
164 follow.
165 </para>
[32a8ca3]166
[bf8ac01]167 </sect2>
[dc775a26]168
[bf8ac01]169 <sect2 role="content">
170 <title>Contents</title>
[dc775a26]171
[bf8ac01]172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
174 <segtitle>Installed Library</segtitle>
175 <segtitle>Installed Directories</segtitle>
[dc775a26]176
[bf8ac01]177 <seglistitem>
[355495ce]178 <seg>
179 curl and curl-config
180 </seg>
181 <seg>
182 libcurl.so
183 </seg>
184 <seg>
185 /usr/include/curl and
186 /usr/share/doc/curl-&curl-version;
187 </seg>
[bf8ac01]188 </seglistitem>
189 </segmentedlist>
[dc775a26]190
[bf8ac01]191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
[dc775a26]195
[bf8ac01]196 <varlistentry id="curl-prog">
197 <term><command>curl</command></term>
198 <listitem>
[355495ce]199 <para>
200 is a command line tool for transferring files with URL syntax.
[32a8ca3]201 </para>
[bf8ac01]202 <indexterm zone="curl curl-prog">
203 <primary sortas="b-curl">curl</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
[dc775a26]207
[bf8ac01]208 <varlistentry id="curl-config">
209 <term><command>curl-config</command></term>
210 <listitem>
[355495ce]211 <para>
212 prints information about the last compile, like libraries
213 linked to and prefix setting.
214 </para>
[bf8ac01]215 <indexterm zone="curl curl-config">
216 <primary sortas="b-curl-config">curl-config</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
[dc775a26]220
[bf8ac01]221 <varlistentry id="libcurl">
[874fec7f]222 <term><filename class="libraryfile">libcurl.so</filename></term>
[bf8ac01]223 <listitem>
[355495ce]224 <para>
225 provides the API functions required by
226 <command>curl</command> and other programs.
227 </para>
[bf8ac01]228 <indexterm zone="curl libcurl">
[874fec7f]229 <primary sortas="c-libcurl">libcurl.so</primary>
[bf8ac01]230 </indexterm>
231 </listitem>
232 </varlistentry>
[355495ce]233
[bf8ac01]234 </variablelist>
[355495ce]235
[bf8ac01]236 </sect2>
[355495ce]237
[f45b1953]238</sect1>
Note: See TracBrowser for help on using the repository browser.