source: basicnet/netlibs/curl.xml@ 873faf2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 873faf2 was 479525ae, checked in by Randy McMurchy <randy@…>, 13 years ago

Clarified the explanation of a command in the cURL instructions

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

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[bf8ac01]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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">
[2b8421c]8 <!--<!ENTITY curl-download-ftp "ftp://gd.tuwien.ac.at/utils/archivers/curl/curl-&curl-version;.tar.bz2">-->
9 <!ENTITY curl-download-ftp " ">
[ad426ac]10 <!ENTITY curl-md5sum "ca96df88e044c7c25d19692ec8b250b2">
11 <!ENTITY curl-size "2.1 MB">
[7f109f5]12 <!ENTITY curl-buildsize "30 MB">
[ad426ac]13 <!ENTITY curl-time "0.6 SBU (up to 7 SBUs to run the test suite)">
[a2d8572]14]>
15
[377584f]16<sect1 id="curl" xreflabel="cURL-&curl-version;">
[bf8ac01]17 <?dbhtml filename="curl.html"?>
[dc775a26]18
[bf8ac01]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
[55329727]21 <date>$Date$</date>
[bf8ac01]22 </sect1info>
[dc775a26]23
[3e89149]24 <title>cURL-&curl-version;</title>
[dc775a26]25
[bf8ac01]26 <indexterm zone="curl">
[3e89149]27 <primary sortas="a-cURL">cURL</primary>
[bf8ac01]28 </indexterm>
[dc775a26]29
[bf8ac01]30 <sect2 role="package">
[3e89149]31 <title>Introduction to cURL</title>
[dc775a26]32
[2ca26748]33 <para>The <application>cURL</application> package contains
[32a8ca3]34 <command>curl</command> and its support library
35 <filename class="libraryfile">libcurl</filename>. This is useful for
36 transferring files with URL syntax to any of the following protocols:
37 FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE.
38 This ability to both download and upload files can be incorporated into other
39 programs to support functions like streaming media.</para>
[dc775a26]40
[2b8421c]41 &lfs65_checked;
42
[bf8ac01]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing='compact'>
45 <listitem>
46 <para>Download (HTTP): <ulink url="&curl-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&curl-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &curl-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &curl-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &curl-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &curl-time;</para>
62 </listitem>
63 </itemizedlist>
[dc775a26]64
[3e89149]65 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
[dc775a26]66
[bf8ac01]67 <bridgehead renderas="sect4">Optional</bridgehead>
[358241d1]68 <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
[d5404360]69 <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
[2ca26748]70 <xref linkend="openldap"/>,
[fcd6bf9d]71 <xref linkend="libidn"/>,
[2ca26748]72 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
[a41f643]73 <ulink url="http://www.libssh2.org">libssh2</ulink>
[32a8ca3]74 (for secure transfers),
[2ca26748]75 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[fcd6bf9d]76 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
[bf8ac01]77 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
[dc775a26]78
[c5e7d76]79 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
80 <para role="optional"><xref linkend="stunnel"/> (for the HTTPS and FTPS tests)</para>
81
82 <!-- and
[1c65bfd]83 <ulink url="http://valgrind.org/">Valgrind</ulink> (not used if building
[c5e7d76]84 the shared library)</para> -->
[dc775a26]85
[061ec9d]86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/curl"/></para>
88
[bf8ac01]89 </sect2>
[dc775a26]90
[bf8ac01]91 <sect2 role="installation">
[3e89149]92 <title>Installation of cURL</title>
[dc775a26]93
[2ca26748]94 <para>Install <application>cURL</application> by running the following
[bf8ac01]95 commands:</para>
[dc775a26]96
[bf8ac01]97<screen><userinput>./configure --prefix=/usr &amp;&amp;
98make</userinput></screen>
[dc775a26]99
[4880b3d2]100 <para>To test the results, issue: <command>make check</command>. Note that
101 if you have <application>Stunnel</application> and
102 <application>TCP Wrapper</application> installed and you wish to perform
103 the HTTPS tests, you'll need to have an unrestrictive
104 <filename>/etc/hosts.deny</filename> file.</para>
[dc775a26]105
[bf8ac01]106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[dc775a26]107
[bf8ac01]108<screen role='root'><userinput>make install &amp;&amp;
[11436b7]109find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &amp;&amp;
[951fac10]110install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[ad426ac]111cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[dc775a26]112
[bf8ac01]113 </sect2>
[dc775a26]114
[bf8ac01]115 <sect2 role="commands">
116 <title>Command Explanations</title>
[dc775a26]117
[2ca26748]118 <para><option>--with-gssapi</option>:
119 This parameter adds <application>Kerberos 5</application> support to
[bf8ac01]120 <filename class="libraryfile">libcurl</filename>.</para>
[dc775a26]121
[b834dfc7]122 <para><option>--with-libssh2</option>:
123 This parameter adds SSH2 protocol support to
124 <filename class="libraryfile">libcurl</filename>.</para>
125
[32a8ca3]126 <para><option>--without-ssl --with-gnutls</option>:
[2b8421c]127 To build with <application>GnuTLS</application>
128 support instead of <application>OpenSSL</application> for SSL/TLS.</para>
[32a8ca3]129
[6473e74]130 <para><command>find docs -name "Makefile*" -o -name "*.1"
[479525ae]131 -o -name "*.3" | xargs rm</command>: This command removes
132 <filename>Makefiles</filename> and man files from the documentation
133 directory that would otherwise be installed by the commands that
134 follow.</para>
[11436b7]135
[bf8ac01]136 </sect2>
[dc775a26]137
[bf8ac01]138 <sect2 role="content">
139 <title>Contents</title>
[dc775a26]140
[bf8ac01]141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Library</segtitle>
144 <segtitle>Installed Directories</segtitle>
[dc775a26]145
[bf8ac01]146 <seglistitem>
147 <seg>curl and curl-config</seg>
[061ec9d]148 <seg>libcurl.{so,a}</seg>
[2ca26748]149 <seg>/usr/include/curl, /usr/share/curl
[bf8ac01]150 and /usr/share/doc/curl-&curl-version;</seg>
151 </seglistitem>
152 </segmentedlist>
[dc775a26]153
[bf8ac01]154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
[dc775a26]158
[bf8ac01]159 <varlistentry id="curl-prog">
160 <term><command>curl</command></term>
161 <listitem>
[32a8ca3]162 <para>is a command line tool for transferring files with URL syntax.
163 </para>
[bf8ac01]164 <indexterm zone="curl curl-prog">
165 <primary sortas="b-curl">curl</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
[dc775a26]169
[bf8ac01]170 <varlistentry id="curl-config">
171 <term><command>curl-config</command></term>
172 <listitem>
[2ca26748]173 <para>prints information about the last compile, like libraries
[bf8ac01]174 linked to and prefix setting.</para>
175 <indexterm zone="curl curl-config">
176 <primary sortas="b-curl-config">curl-config</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
[dc775a26]180
[bf8ac01]181 <varlistentry id="libcurl">
[061ec9d]182 <term><filename class='libraryfile'>libcurl.{so,a}</filename></term>
[bf8ac01]183 <listitem>
[2ca26748]184 <para>provides the API functions required by
[bf8ac01]185 <command>curl</command> and other programs.</para>
186 <indexterm zone="curl libcurl">
[061ec9d]187 <primary sortas="c-libcurl">libcurl.{so,a}</primary>
[bf8ac01]188 </indexterm>
189 </listitem>
190 </varlistentry>
[dc775a26]191
[bf8ac01]192 </variablelist>
[dc775a26]193
[bf8ac01]194 </sect2>
[dc775a26]195
[f45b1953]196</sect1>
Note: See TracBrowser for help on using the repository browser.