mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
dca2fac36b
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2857 af4574ff-66df-0310-9fd7-8a98e5e911e0
104 lines
3.6 KiB
XML
104 lines
3.6 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
|
|
<!ENTITY curl-download-ftp "ftp://ftp.fu-berlin.de/pub/unix/network/curl/curl-&curl-version;.tar.bz2">
|
|
<!ENTITY curl-size "1.2 MB">
|
|
<!ENTITY curl-buildsize "21.7 MB">
|
|
<!ENTITY curl-time "0.38 SBU (additional 2.31 SBU to run test suite)">
|
|
]>
|
|
|
|
<sect1 id="curl" xreflabel="cURL-&curl-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="curl.html"?>
|
|
<title>cURL-&curl-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>cURL</application></title>
|
|
|
|
<para>The <application>cURL</application> package contains
|
|
<command>curl</command> and its support library. This is useful for
|
|
transferring files with <acronym>URL</acronym> syntax. This ability to both
|
|
download and redirect files can be incorporated into other programs to support
|
|
functions like streaming media.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&curl-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&curl-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &curl-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required: &curl-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &curl-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>cURL</application> dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="pkgconfig"/>,
|
|
<xref linkend="openssl"/>,
|
|
<xref linkend="openldap"/>,
|
|
<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
|
<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
|
|
<ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink> and
|
|
<ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>
|
|
</para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>cURL</application></title>
|
|
|
|
<para>Install <application>cURL</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><option>--with-gssapi=/usr</option>:
|
|
This parameter adds <application>Kerberos 5</application> support to
|
|
<filename class="libraryfile">libcurl</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>cURL</application> package contains
|
|
<command>curl</command>, <command>curl-config</command> and the
|
|
<filename class="libraryfile">libcurl</filename> libraries.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>curl</title>
|
|
<para><command>curl</command> is a client that can get documents from or send
|
|
documents to any of the following protocols: <acronym>HTTP</acronym>,
|
|
<acronym>HTTPS</acronym> (needs <xref linkend="openssl"/>),
|
|
<acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
|
|
<xref linkend="openldap"/>) or FILE.</para></sect3>
|
|
|
|
<sect3><title>curl-config</title>
|
|
<para><command>curl-config</command> prints information about the last compile,
|
|
like libraries linked to and prefix setting.</para></sect3>
|
|
|
|
<sect3><title>libcurl</title>
|
|
<para><filename class="libraryfile">libcurl</filename> provides the
|
|
functionality of <command>curl</command> to other programs.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|