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-size "1.8 MB">
|
---|
9 | <!ENTITY curl-buildsize "24.6 MB">
|
---|
10 | <!ENTITY curl-time "0.42 SBU (additional 2.98 SBU to run test suite)">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="curl" xreflabel="cURL-&curl-version;">
|
---|
14 | <sect1info>
|
---|
15 | <othername>$LastChangedBy$</othername>
|
---|
16 | <date>$Date$</date>
|
---|
17 | </sect1info>
|
---|
18 | <?dbhtml filename="curl.html"?>
|
---|
19 | <title>cURL-&curl-version;</title>
|
---|
20 |
|
---|
21 | <sect2>
|
---|
22 | <title>Introduction to <application>cURL</application></title>
|
---|
23 |
|
---|
24 | <para>The <application>cURL</application> package contains
|
---|
25 | <command>curl</command> and its support library. This is useful for
|
---|
26 | transferring files with <acronym>URL</acronym> syntax. This ability to both
|
---|
27 | download and redirect files can be incorporated into other programs to support
|
---|
28 | functions like streaming media.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP):
|
---|
33 | <ulink url="&curl-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP):
|
---|
35 | <ulink url="&curl-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download size: &curl-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required:
|
---|
38 | &curl-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &curl-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | <sect3><title><application>cURL</application> dependencies</title>
|
---|
44 | <sect4><title>Optional</title>
|
---|
45 | <para><xref linkend="pkgconfig"/>,
|
---|
46 | <xref linkend="openssl-package"/>,
|
---|
47 | <xref linkend="openldap"/>,
|
---|
48 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
49 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
50 | <ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink>,
|
---|
51 | <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink> and
|
---|
52 | <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
|
---|
53 | </sect4>
|
---|
54 | </sect3>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2>
|
---|
59 | <title>Installation of <application>cURL</application></title>
|
---|
60 |
|
---|
61 | <para>Install <application>cURL</application> by running the following
|
---|
62 | commands:</para>
|
---|
63 |
|
---|
64 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
65 | make &&
|
---|
66 | make install &&
|
---|
67 | find docs -name "Makefile*" \
|
---|
68 | -o -name "*.1" \
|
---|
69 | -o -name "*.3" | xargs rm &&
|
---|
70 | install -v -d -m755 /usr/share/doc/curl-&curl-version; &&
|
---|
71 | cp -v -R docs/* /usr/share/doc/curl-&curl-version;</command></userinput></screen>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2>
|
---|
76 | <title>Command explanations</title>
|
---|
77 |
|
---|
78 | <para><option>--with-gssapi=/usr</option>:
|
---|
79 | This parameter adds <application>Kerberos 5</application> support to
|
---|
80 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2>
|
---|
85 | <title>Contents</title>
|
---|
86 |
|
---|
87 | <para>The <application>cURL</application> package contains
|
---|
88 | <command>curl</command>, <command>curl-config</command> and the
|
---|
89 | <filename class="libraryfile">libcurl</filename> libraries.</para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2><title>Description</title>
|
---|
94 |
|
---|
95 | <sect3><title>curl</title>
|
---|
96 | <para><command>curl</command> is a client that can get documents from or send
|
---|
97 | documents to any of the following protocols: <acronym>HTTP</acronym>,
|
---|
98 | <acronym>HTTPS</acronym> (needs <xref linkend="openssl-package"/>),
|
---|
99 | <acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
---|
100 | <xref linkend="openldap"/>) or FILE.</para></sect3>
|
---|
101 |
|
---|
102 | <sect3><title>curl-config</title>
|
---|
103 | <para><command>curl-config</command> prints information about the last compile,
|
---|
104 | like libraries linked to and prefix setting.</para></sect3>
|
---|
105 |
|
---|
106 | <sect3><title>libcurl</title>
|
---|
107 | <para><filename class="libraryfile">libcurl</filename> provides the
|
---|
108 | functionality of <command>curl</command> to other programs.</para></sect3>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | </sect1>
|
---|
113 |
|
---|