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