source: basicnet/netlibs/curl.xml@ 4ca94e5c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ca94e5c was 2ca26748, checked in by Randy McMurchy <randy@…>, 19 years ago

Removed excess spaces from the ends of lines in the source files

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4497 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[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
[a2d8572]7 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
[8e2075c]8 <!ENTITY curl-download-ftp "ftp://ftp.fu-berlin.de/pub/unix/network/curl/curl-&curl-version;.tar.bz2">
[13c0960c]9 <!ENTITY curl-md5sum "d673f68dbab2553acdbfb5435bd1cd48">
[959464b9]10 <!ENTITY curl-size "1.8 MB">
[9e563d2a]11 <!ENTITY curl-buildsize "25.2 MB">
12 <!ENTITY curl-time "0.40 SBU (additional 0.58 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>
20 <date>$Date$</date>
21 </sect1info>
[dc775a26]22
[bf8ac01]23 <title>CURL-&curl-version;</title>
[dc775a26]24
[bf8ac01]25 <indexterm zone="curl">
26 <primary sortas="a-CURL">CURL</primary>
27 </indexterm>
[dc775a26]28
[bf8ac01]29 <sect2 role="package">
30 <title>Introduction to CURL</title>
[dc775a26]31
[2ca26748]32 <para>The <application>cURL</application> package contains
33 <command>curl</command> and its support library. This is useful for
34 transferring files with URL syntax. This ability to both
35 download and redirect files can be incorporated into other programs to support
[bf8ac01]36 functions like streaming media.</para>
[dc775a26]37
[bf8ac01]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing='compact'>
40 <listitem>
41 <para>Download (HTTP): <ulink url="&curl-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&curl-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &curl-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &curl-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &curl-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &curl-time;</para>
57 </listitem>
58 </itemizedlist>
[dc775a26]59
[ef8b91c2]60 <bridgehead renderas="sect3">CURL Dependencies</bridgehead>
[dc775a26]61
[bf8ac01]62 <bridgehead renderas="sect4">Optional</bridgehead>
[2ca26748]63 <para><xref linkend="pkgconfig"/>,
64 <xref linkend="openssl"/>,
65 <xref linkend="openldap"/>,
66 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
67 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
68 <ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink>,
69 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink> and
[bf8ac01]70 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
[dc775a26]71
[0f0ee329]72 <bridgehead renderas="sect4">Optional (for Running the Test Suite)</bridgehead>
[2ca26748]73 <para><xref linkend="stunnel"/> (for running HTTPS and FTPS tests) and
74 <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
[bf8ac01]75 the shared library)</para>
[dc775a26]76
[bf8ac01]77 </sect2>
[dc775a26]78
[bf8ac01]79 <sect2 role="installation">
80 <title>Installation of CURL</title>
[dc775a26]81
[2ca26748]82 <para>Install <application>cURL</application> by running the following
[bf8ac01]83 commands:</para>
[dc775a26]84
[bf8ac01]85<screen><userinput>./configure --prefix=/usr &amp;&amp;
86make</userinput></screen>
[dc775a26]87
[2ca26748]88 <para>If you wish to run the testsuite, use the following commands to fix a
[bf8ac01]89 bug in the test script and then run the tests:</para>
[dc775a26]90
[bf8ac01]91<screen><userinput>sed -i -e 's/^require "valgrind.pm"/# &amp;/' tests/runtests.pl &amp;&amp;
92make check</userinput></screen>
[dc775a26]93
[bf8ac01]94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[dc775a26]95
[bf8ac01]96<screen role='root'><userinput>make install &amp;&amp;
[951fac10]97find docs -name "Makefile*" \
[bf8ac01]98 -o -name "*.1" \
99 -o -name "*.3" | xargs rm &amp;&amp;
[951fac10]100install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[bf8ac01]101cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[dc775a26]102
[bf8ac01]103 </sect2>
[dc775a26]104
[bf8ac01]105 <sect2 role="commands">
106 <title>Command Explanations</title>
[dc775a26]107
[2ca26748]108 <para><option>--with-gssapi</option>:
109 This parameter adds <application>Kerberos 5</application> support to
[bf8ac01]110 <filename class="libraryfile">libcurl</filename>.</para>
[dc775a26]111
[bf8ac01]112 </sect2>
[dc775a26]113
[bf8ac01]114 <sect2 role="content">
115 <title>Contents</title>
[dc775a26]116
[bf8ac01]117 <segmentedlist>
118 <segtitle>Installed Programs</segtitle>
119 <segtitle>Installed Library</segtitle>
120 <segtitle>Installed Directories</segtitle>
[dc775a26]121
[bf8ac01]122 <seglistitem>
123 <seg>curl and curl-config</seg>
124 <seg>libcurl.[so,a]</seg>
[2ca26748]125 <seg>/usr/include/curl, /usr/share/curl
[bf8ac01]126 and /usr/share/doc/curl-&curl-version;</seg>
127 </seglistitem>
128 </segmentedlist>
[dc775a26]129
[bf8ac01]130 <variablelist>
131 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
132 <?dbfo list-presentation="list"?>
133 <?dbhtml list-presentation="table"?>
[dc775a26]134
[bf8ac01]135 <varlistentry id="curl-prog">
136 <term><command>curl</command></term>
137 <listitem>
[2ca26748]138 <para>is a client that can get documents from or send documents to
[bf8ac01]139 any of the following protocols: HTTP, HTTPS (needs <xref
[2ca26748]140 linkend="openssl"/>), FTP, GOPHER, DICT, TELNET, LDAP (needs
[bf8ac01]141 <xref linkend="openldap"/> at run time) or FILE.</para>
142 <indexterm zone="curl curl-prog">
143 <primary sortas="b-curl">curl</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
[dc775a26]147
[bf8ac01]148 <varlistentry id="curl-config">
149 <term><command>curl-config</command></term>
150 <listitem>
[2ca26748]151 <para>prints information about the last compile, like libraries
[bf8ac01]152 linked to and prefix setting.</para>
153 <indexterm zone="curl curl-config">
154 <primary sortas="b-curl-config">curl-config</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
[dc775a26]158
[bf8ac01]159 <varlistentry id="libcurl">
160 <term><filename class='libraryfile'>libcurl.[so,a]</filename></term>
161 <listitem>
[2ca26748]162 <para>provides the API functions required by
[bf8ac01]163 <command>curl</command> and other programs.</para>
164 <indexterm zone="curl libcurl">
165 <primary sortas="c-libcurl">libcurl.[so,a]</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
[dc775a26]169
[bf8ac01]170 </variablelist>
[dc775a26]171
[bf8ac01]172 </sect2>
[dc775a26]173
[f45b1953]174</sect1>
175
Note: See TracBrowser for help on using the repository browser.