source: basicnet/netlibs/curl.xml@ 7e7cb4a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 7e7cb4a was 7e7cb4a, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Reverted last commit made by error.

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

  • Property mode set to 100644
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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">
9 <!ENTITY curl-md5sum "e3b130320d3704af375c097606f49c01">
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)">
13]>
14
15<sect1 id="curl" xreflabel="cURL-&curl-version;">
16 <?dbhtml filename="curl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>CURL-&curl-version;</title>
24
25 <indexterm zone="curl">
26 <primary sortas="a-CURL">CURL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to CURL</title>
31
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
36 functions like streaming media.</para>
37
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>
59
60 <bridgehead renderas="sect3">CURL Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para><xref linkend="pkgconfig"/>,
64 <xref linkend="openssl"/> or
65 <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>,
66 <xref linkend="openldap"/>,
67 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
68 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
69 <ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink>,
70 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink> and
71 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
72
73 <bridgehead renderas="sect4">Optional (for Running the Test Suite)</bridgehead>
74 <para><xref linkend="stunnel"/> (for running HTTPS and FTPS tests) and
75 <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
76 the shared library)</para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of CURL</title>
82
83 <para>Install <application>cURL</application> by running the following
84 commands:</para>
85
86<screen><userinput>./configure --prefix=/usr &amp;&amp;
87make</userinput></screen>
88
89 <para>To test the results, issue: <command>make check</command>.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role='root'><userinput>make install &amp;&amp;
94find docs -name "Makefile*" \
95 -o -name "*.1" \
96 -o -name "*.3" | xargs rm &amp;&amp;
97install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
98cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
99
100 </sect2>
101
102 <sect2 role="commands">
103 <title>Command Explanations</title>
104
105 <para><option>--with-gssapi</option>:
106 This parameter adds <application>Kerberos 5</application> support to
107 <filename class="libraryfile">libcurl</filename>.</para>
108
109 </sect2>
110
111 <sect2 role="content">
112 <title>Contents</title>
113
114 <segmentedlist>
115 <segtitle>Installed Programs</segtitle>
116 <segtitle>Installed Library</segtitle>
117 <segtitle>Installed Directories</segtitle>
118
119 <seglistitem>
120 <seg>curl and curl-config</seg>
121 <seg>libcurl.[so,a]</seg>
122 <seg>/usr/include/curl, /usr/share/curl
123 and /usr/share/doc/curl-&curl-version;</seg>
124 </seglistitem>
125 </segmentedlist>
126
127 <variablelist>
128 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
129 <?dbfo list-presentation="list"?>
130 <?dbhtml list-presentation="table"?>
131
132 <varlistentry id="curl-prog">
133 <term><command>curl</command></term>
134 <listitem>
135 <para>is a client that can get documents from or send documents to
136 any of the following protocols: HTTP, HTTPS (needs <xref
137 linkend="openssl"/>), FTP, GOPHER, DICT, TELNET, LDAP (needs
138 <xref linkend="openldap"/> at run time) or FILE.</para>
139 <indexterm zone="curl curl-prog">
140 <primary sortas="b-curl">curl</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="curl-config">
146 <term><command>curl-config</command></term>
147 <listitem>
148 <para>prints information about the last compile, like libraries
149 linked to and prefix setting.</para>
150 <indexterm zone="curl curl-config">
151 <primary sortas="b-curl-config">curl-config</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="libcurl">
157 <term><filename class='libraryfile'>libcurl.[so,a]</filename></term>
158 <listitem>
159 <para>provides the API functions required by
160 <command>curl</command> and other programs.</para>
161 <indexterm zone="curl libcurl">
162 <primary sortas="c-libcurl">libcurl.[so,a]</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 </variablelist>
168
169 </sect2>
170
171</sect1>
Note: See TracBrowser for help on using the repository browser.