Networking Libraries

These applications are support libraries for other applications in the book. It is unlikely that you would just install these libraries, you will generally find that you will be referred to this chapter to satisfy a dependency of other applications.


Introduction to CURL

The cURL package contains curl and its support library. This is useful for transferring files with URL syntax. This ability to both download and redirect files can be incorporated into other programs to support functions like streaming media.

Package Information

  • Download (HTTP):

  • Download (FTP):

  • Download MD5 sum: 46ce665e47d37fce1a0bad935cce58a9

  • Download size: 1.9 MB

  • Estimated disk space required: 23.8 MB

  • Estimated build time: 0.34 SBU (additional 0.86 SBU to run the test suite)

CURL Dependencies


pkg-config-0.19, OpenSSL-0.9.7g, OpenLDAP-2.2.24, MIT krb5-1.4.1 or Heimdal-0.7, krb4, Libidn, SPNEGO and c-ares

Optional (for Running the Test Suite)

Stunnel-4.11 (for running HTTPS and FTPS tests) and Valgrind (not used if building the shared library)

Installation of CURL

Install cURL by running the following commands:

./configure --prefix=/usr &&

If you wish to run the testsuite, use the following commands to fix a bug in the test script and then run the tests:

sed -i -e 's/^require ""/# &/' tests/ &&
make check

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.14.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.14.0

Command Explanations

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


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.14.0

Short Descriptions


is a client that can get documents from or send documents to any of the following protocols: HTTP, HTTPS (needs OpenSSL-0.9.7g), FTP, GOPHER, DICT, TELNET, LDAP (needs OpenLDAP-2.2.24 at run time) or FILE.


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


provides the API functions required by curl and other programs.

Last updated on 2005-08-01 13:29:19 -0600