[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">
|
---|
[959464b9] | 8 | <!ENTITY curl-size "1.8 MB">
|
---|
| 9 | <!ENTITY curl-buildsize "22.7 MB">
|
---|
| 10 | <!ENTITY curl-time "0.42 SBU (additional 2.98 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'>
|
---|
[959464b9] | 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>
|
---|
[a2d8572] | 36 | <listitem><para>Download size: &curl-size;</para></listitem>
|
---|
[959464b9] | 37 | <listitem><para>Estimated disk space required:
|
---|
| 38 | &curl-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &curl-time;</para></listitem></itemizedlist>
|
---|
[a2d8572] | 41 | </sect3>
|
---|
| 42 |
|
---|
| 43 | <sect3><title><application>cURL</application> dependencies</title>
|
---|
| 44 | <sect4><title>Optional</title>
|
---|
[8e2075c] | 45 | <para><xref linkend="pkgconfig"/>,
|
---|
| 46 | <xref linkend="openssl"/>,
|
---|
| 47 | <xref linkend="openldap"/>,
|
---|
| 48 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
| 49 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
[959464b9] | 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>
|
---|
[a2d8572] | 54 | </sect3>
|
---|
| 55 |
|
---|
| 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2>
|
---|
| 59 | <title>Installation of <application>cURL</application></title>
|
---|
| 60 |
|
---|
[8e2075c] | 61 | <para>Install <application>cURL</application> by running the following
|
---|
| 62 | commands:</para>
|
---|
[a2d8572] | 63 |
|
---|
| 64 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 65 | make &&
|
---|
| 66 | make install</command></userinput></screen>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2>
|
---|
| 71 | <title>Command explanations</title>
|
---|
| 72 |
|
---|
[8e2075c] | 73 | <para><option>--with-gssapi=/usr</option>:
|
---|
| 74 | This parameter adds <application>Kerberos 5</application> support to
|
---|
| 75 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
[a2d8572] | 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2>
|
---|
| 80 | <title>Contents</title>
|
---|
| 81 |
|
---|
[8e2075c] | 82 | <para>The <application>cURL</application> package contains
|
---|
| 83 | <command>curl</command>, <command>curl-config</command> and the
|
---|
[a2d8572] | 84 | <filename class="libraryfile">libcurl</filename> libraries.</para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2><title>Description</title>
|
---|
| 89 |
|
---|
| 90 | <sect3><title>curl</title>
|
---|
[8e2075c] | 91 | <para><command>curl</command> is a client that can get documents from or send
|
---|
| 92 | documents to any of the following protocols: <acronym>HTTP</acronym>,
|
---|
| 93 | <acronym>HTTPS</acronym> (needs <xref linkend="openssl"/>),
|
---|
| 94 | <acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
---|
| 95 | <xref linkend="openldap"/>) or FILE.</para></sect3>
|
---|
[a2d8572] | 96 |
|
---|
| 97 | <sect3><title>curl-config</title>
|
---|
[8e2075c] | 98 | <para><command>curl-config</command> prints information about the last compile,
|
---|
| 99 | like libraries linked to and prefix setting.</para></sect3>
|
---|
[a2d8572] | 100 |
|
---|
| 101 | <sect3><title>libcurl</title>
|
---|
[8e2075c] | 102 | <para><filename class="libraryfile">libcurl</filename> provides the
|
---|
| 103 | functionality of <command>curl</command> to other programs.</para></sect3>
|
---|
[a2d8572] | 104 |
|
---|
| 105 | </sect2>
|
---|
[f45b1953] | 106 |
|
---|
| 107 | </sect1>
|
---|
| 108 |
|
---|