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.16.1 &&
cp -v -R docs/* /usr/share/doc/curl-7.16.1
Command Explanations
--with-gssapi: This parameter adds
Kerberos 5 support to libcurl.
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.16.1
Short Descriptions
|
curl
|
is a client that can get documents from or send documents
to any of the following protocols: HTTP, HTTPS (needs
OpenSSL-0.9.8e), FTP, GOPHER, DICT,
TELNET, LDAP (needs OpenLDAP-2.3.34 at run time) or
FILE.
|
|
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 2007-04-04 21:42:53 +0200