[bf8ac01] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[a2d8572] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[8e2075c] | 6 |
|
---|
[1363324e] | 7 | <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
|
---|
| 8 | <!ENTITY curl-download-ftp "ftp://gd.tuwien.ac.at/utils/archivers/curl/curl-&curl-version;.tar.bz2">
|
---|
[11436b7] | 9 | <!ENTITY curl-md5sum "d330d48580bfade58c82d4f295f171f0">
|
---|
[582cdc09] | 10 | <!ENTITY curl-size "1.4 MB">
|
---|
| 11 | <!ENTITY curl-buildsize "25.5 MB">
|
---|
| 12 | <!ENTITY curl-time "0.4 SBU (additional 1.0 SBU to run the test suite)">
|
---|
[a2d8572] | 13 | ]>
|
---|
| 14 |
|
---|
[377584f] | 15 | <sect1 id="curl" xreflabel="cURL-&curl-version;">
|
---|
[bf8ac01] | 16 | <?dbhtml filename="curl.html"?>
|
---|
[dc775a26] | 17 |
|
---|
[bf8ac01] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
[55329727] | 20 | <date>$Date$</date>
|
---|
[4dbbf634] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">curl-&curl-version;.tar</keyword>
|
---|
[25475f5] | 23 | <keyword role="ftpdir">curl</keyword>
|
---|
[4dbbf634] | 24 | </keywordset>
|
---|
[bf8ac01] | 25 | </sect1info>
|
---|
[dc775a26] | 26 |
|
---|
[bf8ac01] | 27 | <title>CURL-&curl-version;</title>
|
---|
[dc775a26] | 28 |
|
---|
[bf8ac01] | 29 | <indexterm zone="curl">
|
---|
| 30 | <primary sortas="a-CURL">CURL</primary>
|
---|
| 31 | </indexterm>
|
---|
[dc775a26] | 32 |
|
---|
[bf8ac01] | 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to CURL</title>
|
---|
[dc775a26] | 35 |
|
---|
[2ca26748] | 36 | <para>The <application>cURL</application> package contains
|
---|
| 37 | <command>curl</command> and its support library. This is useful for
|
---|
| 38 | transferring files with URL syntax. This ability to both
|
---|
| 39 | download and redirect files can be incorporated into other programs to support
|
---|
[bf8ac01] | 40 | functions like streaming media.</para>
|
---|
[dc775a26] | 41 |
|
---|
[bf8ac01] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing='compact'>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&curl-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&curl-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &curl-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &curl-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &curl-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &curl-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
[dc775a26] | 63 |
|
---|
[ef8b91c2] | 64 | <bridgehead renderas="sect3">CURL Dependencies</bridgehead>
|
---|
[dc775a26] | 65 |
|
---|
[bf8ac01] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 67 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
[582cdc09] | 68 | <xref linkend="openssl"/> or
|
---|
| 69 | <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>,
|
---|
[2ca26748] | 70 | <xref linkend="openldap"/>,
|
---|
[fcd6bf9d] | 71 | <xref linkend="libidn"/>,
|
---|
[2ca26748] | 72 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
| 73 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
---|
[fcd6bf9d] | 74 | <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
|
---|
[bf8ac01] | 75 | <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
|
---|
[dc775a26] | 76 |
|
---|
[0f0ee329] | 77 | <bridgehead renderas="sect4">Optional (for Running the Test Suite)</bridgehead>
|
---|
[4dbbf634] | 78 | <para role="optional"><xref linkend="stunnel"/> (for running HTTPS and FTPS tests) and
|
---|
[2ca26748] | 79 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
|
---|
[bf8ac01] | 80 | the shared library)</para>
|
---|
[dc775a26] | 81 |
|
---|
[bf8ac01] | 82 | </sect2>
|
---|
[dc775a26] | 83 |
|
---|
[bf8ac01] | 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of CURL</title>
|
---|
[dc775a26] | 86 |
|
---|
[2ca26748] | 87 | <para>Install <application>cURL</application> by running the following
|
---|
[bf8ac01] | 88 | commands:</para>
|
---|
[dc775a26] | 89 |
|
---|
[bf8ac01] | 90 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 91 | make</userinput></screen>
|
---|
[dc775a26] | 92 |
|
---|
[1363324e] | 93 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[dc775a26] | 94 |
|
---|
[bf8ac01] | 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[dc775a26] | 96 |
|
---|
[bf8ac01] | 97 | <screen role='root'><userinput>make install &&
|
---|
[11436b7] | 98 | find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
|
---|
[951fac10] | 99 | install -v -d -m755 /usr/share/doc/curl-&curl-version; &&
|
---|
[bf8ac01] | 100 | cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
|
---|
[dc775a26] | 101 |
|
---|
[bf8ac01] | 102 | </sect2>
|
---|
[dc775a26] | 103 |
|
---|
[bf8ac01] | 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
[dc775a26] | 106 |
|
---|
[2ca26748] | 107 | <para><option>--with-gssapi</option>:
|
---|
| 108 | This parameter adds <application>Kerberos 5</application> support to
|
---|
[bf8ac01] | 109 | <filename class="libraryfile">libcurl</filename>.</para>
|
---|
[dc775a26] | 110 |
|
---|
[6473e74] | 111 | <para><command>find docs -name "Makefile*" -o -name "*.1"
|
---|
[11436b7] | 112 | -o -name "*.3" | xargs rm</command>: This instruction removes files
|
---|
| 113 | that are not needed in /usr/share/doc/curl-&curl-version; to facilitate
|
---|
| 114 | copying appropriate files. The "*.1" and "*.3" files are installed
|
---|
| 115 | by the normal <command>make install</command>.</para>
|
---|
| 116 |
|
---|
[bf8ac01] | 117 | </sect2>
|
---|
[dc775a26] | 118 |
|
---|
[bf8ac01] | 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
[dc775a26] | 121 |
|
---|
[bf8ac01] | 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Library</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
[dc775a26] | 126 |
|
---|
[bf8ac01] | 127 | <seglistitem>
|
---|
| 128 | <seg>curl and curl-config</seg>
|
---|
| 129 | <seg>libcurl.[so,a]</seg>
|
---|
[2ca26748] | 130 | <seg>/usr/include/curl, /usr/share/curl
|
---|
[bf8ac01] | 131 | and /usr/share/doc/curl-&curl-version;</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
[dc775a26] | 134 |
|
---|
[bf8ac01] | 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
[dc775a26] | 139 |
|
---|
[bf8ac01] | 140 | <varlistentry id="curl-prog">
|
---|
| 141 | <term><command>curl</command></term>
|
---|
| 142 | <listitem>
|
---|
[2ca26748] | 143 | <para>is a client that can get documents from or send documents to
|
---|
[bf8ac01] | 144 | any of the following protocols: HTTP, HTTPS (needs <xref
|
---|
[2ca26748] | 145 | linkend="openssl"/>), FTP, GOPHER, DICT, TELNET, LDAP (needs
|
---|
[bf8ac01] | 146 | <xref linkend="openldap"/> at run time) or FILE.</para>
|
---|
| 147 | <indexterm zone="curl curl-prog">
|
---|
| 148 | <primary sortas="b-curl">curl</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
[dc775a26] | 152 |
|
---|
[bf8ac01] | 153 | <varlistentry id="curl-config">
|
---|
| 154 | <term><command>curl-config</command></term>
|
---|
| 155 | <listitem>
|
---|
[2ca26748] | 156 | <para>prints information about the last compile, like libraries
|
---|
[bf8ac01] | 157 | linked to and prefix setting.</para>
|
---|
| 158 | <indexterm zone="curl curl-config">
|
---|
| 159 | <primary sortas="b-curl-config">curl-config</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
[dc775a26] | 163 |
|
---|
[bf8ac01] | 164 | <varlistentry id="libcurl">
|
---|
| 165 | <term><filename class='libraryfile'>libcurl.[so,a]</filename></term>
|
---|
| 166 | <listitem>
|
---|
[2ca26748] | 167 | <para>provides the API functions required by
|
---|
[bf8ac01] | 168 | <command>curl</command> and other programs.</para>
|
---|
| 169 | <indexterm zone="curl libcurl">
|
---|
| 170 | <primary sortas="c-libcurl">libcurl.[so,a]</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
[dc775a26] | 174 |
|
---|
[bf8ac01] | 175 | </variablelist>
|
---|
[dc775a26] | 176 |
|
---|
[bf8ac01] | 177 | </sect2>
|
---|
[dc775a26] | 178 |
|
---|
[f45b1953] | 179 | </sect1>
|
---|