cURL-7.19.2

Introduction to cURL

The cURL package contains curl and its support library libcurl. This is useful for transferring files with URL syntax to any of the following protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. This ability to both download and upload files can be incorporated into other programs to support functions like streaming media.

Package Information

cURL Dependencies

Optional

pkg-config-0.23, OpenSSL-0.9.8i or GnuTLS-1.6.3, OpenLDAP-2.3.39, libidn-0.6.14, MIT Kerberos V5-1.6 or Heimdal-1.1, libssh2 (for secure transfers), krb4, SPNEGO, and c-ares

Optional for Running the Test Suite

Stunnel-4.21 (for the HTTPS and FTPS tests)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/curl

Installation of cURL

Install cURL by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check. Note that if you have Stunnel and TCP Wrapper installed and you wish to perform the HTTPS tests, you'll need to have an unrestrictive /etc/hosts.deny file.

Now, as the root user:

make install &&
find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
install -v -d -m755 /usr/share/doc/curl-7.19.2 &&
cp -v -R docs/* /usr/share/doc/curl-7.19.2

Command Explanations

--with-gssapi: This parameter adds Kerberos 5 support to libcurl.

--with-libssh2: This parameter adds SSH2 protocol support to libcurl.

--without-ssl --with-gnutls: To build with GnuTLS support instead of OpenSSL for SSL/TLS.

find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm: This command removes man files from the source tree that have already been installed by the make install command.

Contents

Installed Programs: curl and curl-config
Installed Library: libcurl.{so,a}
Installed Directories: /usr/include/curl, /usr/share/curl and /usr/share/doc/curl-7.19.2

Short Descriptions

curl

is a command line tool for transferring files with URL syntax.

curl-config

prints information about the last compile, like libraries linked to and prefix setting.

libcurl.{so,a}

provides the API functions required by curl and other programs.

Last updated on 2008-12-20 04:06:48 -0600