[a2d8572] | 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;
|
---|
[8e2075c] | 5 |
|
---|
[a2d8572] | 6 | <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
|
---|
[8e2075c] | 7 | <!ENTITY curl-download-ftp "ftp://ftp.fu-berlin.de/pub/unix/network/curl/curl-&curl-version;.tar.bz2">
|
---|
[dca2fac3] | 8 | <!ENTITY curl-size "1.2 MB">
|
---|
| 9 | <!ENTITY curl-buildsize "21.7 MB">
|
---|
| 10 | <!ENTITY curl-time "0.38 SBU (additional 2.31 SBU to run test suite)">
|
---|
[a2d8572] | 11 | ]>
|
---|
| 12 |
|
---|
[377584f] | 13 | <sect1 id="curl" xreflabel="cURL-&curl-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[00bb024c] | 18 | <?dbhtml filename="curl.html"?>
|
---|
[377584f] | 19 | <title>cURL-&curl-version;</title>
|
---|
[f45b1953] | 20 |
|
---|
[a2d8572] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>cURL</application></title>
|
---|
| 23 |
|
---|
[8e2075c] | 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
|
---|
[a2d8572] | 28 | functions like streaming media.</para>
|
---|
| 29 |
|
---|
| 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink url="&curl-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink url="&curl-download-ftp;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download size: &curl-size;</para></listitem>
|
---|
[dca2fac3] | 35 | <listitem><para>Estimated disk space required: &curl-buildsize;</para></listitem>
|
---|
[a2d8572] | 36 | <listitem><para>Estimated build time: &curl-time;</para></listitem></itemizedlist>
|
---|
| 37 | </sect3>
|
---|
| 38 |
|
---|
| 39 | <sect3><title><application>cURL</application> dependencies</title>
|
---|
| 40 | <sect4><title>Optional</title>
|
---|
[8e2075c] | 41 | <para><xref linkend="pkgconfig"/>,
|
---|
| 42 | <xref linkend="openssl"/>,
|
---|
| 43 | <xref linkend="openldap"/>,
|
---|
| 44 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
| 45 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
| 46 | <ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink> and
|
---|
| 47 | <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>
|
---|
| 48 | </para></sect4>
|
---|
[a2d8572] | 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>cURL</application></title>
|
---|
| 55 |
|
---|
[8e2075c] | 56 | <para>Install <application>cURL</application> by running the following
|
---|
| 57 | commands:</para>
|
---|
[a2d8572] | 58 |
|
---|
| 59 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 60 | make &&
|
---|
| 61 | make install</command></userinput></screen>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2>
|
---|
| 66 | <title>Command explanations</title>
|
---|
| 67 |
|
---|
[8e2075c] | 68 | <para><option>--with-gssapi=/usr</option>:
|
---|
| 69 | This parameter adds <application>Kerberos 5</application> support to
|
---|
| 70 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
[a2d8572] | 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Contents</title>
|
---|
| 76 |
|
---|
[8e2075c] | 77 | <para>The <application>cURL</application> package contains
|
---|
| 78 | <command>curl</command>, <command>curl-config</command> and the
|
---|
[a2d8572] | 79 | <filename class="libraryfile">libcurl</filename> libraries.</para>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2><title>Description</title>
|
---|
| 84 |
|
---|
| 85 | <sect3><title>curl</title>
|
---|
[8e2075c] | 86 | <para><command>curl</command> is a client that can get documents from or send
|
---|
| 87 | documents to any of the following protocols: <acronym>HTTP</acronym>,
|
---|
| 88 | <acronym>HTTPS</acronym> (needs <xref linkend="openssl"/>),
|
---|
| 89 | <acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
---|
| 90 | <xref linkend="openldap"/>) or FILE.</para></sect3>
|
---|
[a2d8572] | 91 |
|
---|
| 92 | <sect3><title>curl-config</title>
|
---|
[8e2075c] | 93 | <para><command>curl-config</command> prints information about the last compile,
|
---|
| 94 | like libraries linked to and prefix setting.</para></sect3>
|
---|
[a2d8572] | 95 |
|
---|
| 96 | <sect3><title>libcurl</title>
|
---|
[8e2075c] | 97 | <para><filename class="libraryfile">libcurl</filename> provides the
|
---|
| 98 | functionality of <command>curl</command> to other programs.</para></sect3>
|
---|
[a2d8572] | 99 |
|
---|
| 100 | </sect2>
|
---|
[f45b1953] | 101 |
|
---|
| 102 | </sect1>
|
---|
| 103 |
|
---|