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