[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">
|
---|
[951fac10] | 9 | <!ENTITY curl-buildsize "24.6 MB">
|
---|
[959464b9] | 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"/>,
|
---|
[939cf0da] | 46 | <xref linkend="openssl-package"/>,
|
---|
[8e2075c] | 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 &&
|
---|
[951fac10] | 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>
|
---|
[a2d8572] | 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Command explanations</title>
|
---|
| 77 |
|
---|
[8e2075c] | 78 | <para><option>--with-gssapi=/usr</option>:
|
---|
| 79 | This parameter adds <application>Kerberos 5</application> support to
|
---|
| 80 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
[a2d8572] | 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Contents</title>
|
---|
| 86 |
|
---|
[8e2075c] | 87 | <para>The <application>cURL</application> package contains
|
---|
| 88 | <command>curl</command>, <command>curl-config</command> and the
|
---|
[a2d8572] | 89 | <filename class="libraryfile">libcurl</filename> libraries.</para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2><title>Description</title>
|
---|
| 94 |
|
---|
| 95 | <sect3><title>curl</title>
|
---|
[8e2075c] | 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>,
|
---|
[939cf0da] | 98 | <acronym>HTTPS</acronym> (needs <xref linkend="openssl-package"/>),
|
---|
[8e2075c] | 99 | <acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
---|
| 100 | <xref linkend="openldap"/>) or FILE.</para></sect3>
|
---|
[a2d8572] | 101 |
|
---|
| 102 | <sect3><title>curl-config</title>
|
---|
[8e2075c] | 103 | <para><command>curl-config</command> prints information about the last compile,
|
---|
| 104 | like libraries linked to and prefix setting.</para></sect3>
|
---|
[a2d8572] | 105 |
|
---|
| 106 | <sect3><title>libcurl</title>
|
---|
[8e2075c] | 107 | <para><filename class="libraryfile">libcurl</filename> provides the
|
---|
| 108 | functionality of <command>curl</command> to other programs.</para></sect3>
|
---|
[a2d8572] | 109 |
|
---|
| 110 | </sect2>
|
---|
[f45b1953] | 111 |
|
---|
| 112 | </sect1>
|
---|
| 113 |
|
---|