1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
|
---|
7 | <!ENTITY curl-download-ftp "ftp://ftp.fu-berlin.de/pub/unix/network/curl/curl-&curl-version;.tar.bz2">
|
---|
8 | <!ENTITY curl-md5sum "d673f68dbab2553acdbfb5435bd1cd48">
|
---|
9 | <!ENTITY curl-size "1.8 MB">
|
---|
10 | <!ENTITY curl-buildsize "24.7 MB">
|
---|
11 | <!ENTITY curl-time "0.40 SBU (additional 0.59 SBU to run the test suite)">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="curl" xreflabel="cURL-&curl-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="curl.html"?>
|
---|
20 | <title>cURL-&curl-version;</title>
|
---|
21 | <indexterm zone="curl">
|
---|
22 | <primary sortas="a-CURL">CURL</primary></indexterm>
|
---|
23 |
|
---|
24 | <sect2>
|
---|
25 | <title>Introduction to <application>cURL</application></title>
|
---|
26 |
|
---|
27 | <para>The <application>cURL</application> package contains
|
---|
28 | <command>curl</command> and its support library. This is useful for
|
---|
29 | transferring files with <acronym>URL</acronym> syntax. This ability to both
|
---|
30 | download and redirect files can be incorporated into other programs to support
|
---|
31 | functions like streaming media.</para>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing='compact'>
|
---|
35 | <listitem><para>Download (HTTP):
|
---|
36 | <ulink url="&curl-download-http;"/></para></listitem>
|
---|
37 | <listitem><para>Download (FTP):
|
---|
38 | <ulink url="&curl-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Download MD5 sum: &curl-md5sum;</para></listitem>
|
---|
40 | <listitem><para>Download size: &curl-size;</para></listitem>
|
---|
41 | <listitem><para>Estimated disk space required:
|
---|
42 | &curl-buildsize;</para></listitem>
|
---|
43 | <listitem><para>Estimated build time:
|
---|
44 | &curl-time;</para></listitem></itemizedlist>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | <sect3><title><application>cURL</application> dependencies</title>
|
---|
48 | <sect4><title>Optional</title>
|
---|
49 | <para><xref linkend="pkgconfig"/>,
|
---|
50 | <xref linkend="openssl"/>,
|
---|
51 | <xref linkend="openldap"/>,
|
---|
52 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
53 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
54 | <ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink>,
|
---|
55 | <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink> and
|
---|
56 | <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
|
---|
57 | </sect4>
|
---|
58 |
|
---|
59 | <sect4><title>Optional (for running the test suite)</title>
|
---|
60 | <para><xref linkend="stunnel"/> (for running <acronym>HTTPS</acronym> and
|
---|
61 | <acronym>FTPS</acronym> tests) and
|
---|
62 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
|
---|
63 | the shared library)</para>
|
---|
64 | </sect4>
|
---|
65 | </sect3>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2>
|
---|
70 | <title>Installation of <application>cURL</application></title>
|
---|
71 |
|
---|
72 | <para>Install <application>cURL</application> by running the following
|
---|
73 | commands:</para>
|
---|
74 |
|
---|
75 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
76 | make</command></userinput></screen>
|
---|
77 |
|
---|
78 | <para>Now, as the root user:</para>
|
---|
79 |
|
---|
80 | <screen><userinput role='root'><command>make install &&
|
---|
81 | find docs -name "Makefile*" \
|
---|
82 | -o -name "*.1" \
|
---|
83 | -o -name "*.3" | xargs rm &&
|
---|
84 | install -v -d -m755 /usr/share/doc/curl-&curl-version; &&
|
---|
85 | cp -v -R docs/* /usr/share/doc/curl-&curl-version;</command></userinput></screen>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2>
|
---|
90 | <title>Command explanations</title>
|
---|
91 |
|
---|
92 | <para><option>--with-gssapi</option>:
|
---|
93 | This parameter adds <application>Kerberos 5</application> support to
|
---|
94 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2>
|
---|
99 | <title>Contents</title>
|
---|
100 |
|
---|
101 | <segmentedlist>
|
---|
102 | <segtitle>Installed Programs</segtitle>
|
---|
103 | <segtitle>Installed Library</segtitle>
|
---|
104 | <segtitle>Installed Directories</segtitle>
|
---|
105 |
|
---|
106 | <seglistitem>
|
---|
107 | <seg>curl and curl-config</seg>
|
---|
108 | <seg>libcurl.[so,a]</seg>
|
---|
109 | <seg>/usr/include/curl, /usr/share/curl
|
---|
110 | and /usr/share/doc/curl-&curl-version;</seg>
|
---|
111 | </seglistitem>
|
---|
112 | </segmentedlist>
|
---|
113 |
|
---|
114 | <variablelist>
|
---|
115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
116 | <?dbfo list-presentation="list"?>
|
---|
117 |
|
---|
118 | <varlistentry id="curl-prog">
|
---|
119 | <term><command>curl</command></term>
|
---|
120 | <listitem><para>is a client that can get documents from or send documents to
|
---|
121 | any of the following protocols: <acronym>HTTP</acronym>,
|
---|
122 | <acronym>HTTPS</acronym> (needs <xref linkend="openssl"/>),
|
---|
123 | <acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
---|
124 | <xref linkend="openldap"/> at run time) or FILE.</para>
|
---|
125 | <indexterm zone="curl curl-prog">
|
---|
126 | <primary sortas="b-curl">curl</primary>
|
---|
127 | </indexterm></listitem>
|
---|
128 | </varlistentry>
|
---|
129 |
|
---|
130 | <varlistentry id="curl-config">
|
---|
131 | <term><command>curl-config</command></term>
|
---|
132 | <listitem><para>prints information about the last compile, like libraries
|
---|
133 | linked to and prefix setting.</para>
|
---|
134 | <indexterm zone="curl curl-config">
|
---|
135 | <primary sortas="b-curl-config">curl-config</primary>
|
---|
136 | </indexterm></listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry id="libcurl">
|
---|
140 | <term><filename class='libraryfile'>libcurl.[so,a]</filename></term>
|
---|
141 | <listitem><para>provides the <acronym>API</acronym> functions required by
|
---|
142 | <command>curl</command> and other programs.</para>
|
---|
143 | <indexterm zone="curl libcurl">
|
---|
144 | <primary sortas="c-libcurl">libcurl.[so,a]</primary>
|
---|
145 | </indexterm></listitem>
|
---|
146 | </varlistentry>
|
---|
147 | </variablelist>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | </sect1>
|
---|
152 |
|
---|