%general-entities; ]> $LastChangedBy$ $Date$ cURL-&curl-version; cURL Introduction to cURL The cURL package contains an utility and a library used 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. Its ability to both download and upload files can be incorporated into other programs to support functions like streaming media. &lfs84_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &curl-md5sum; Download size: &curl-size; Estimated disk space required: &curl-buildsize; Estimated build time: &curl-time; Additional Downloads Patch to fix DNS resolution issues: cURL Dependencies Recommended (runtime) Optional , , , , , , , , , Brotli, libmetalink, librtmp, and SPNEGO Optional if Running the Test Suite (for the HTTPS and FTPS tests) and (this will slow the tests down and may cause failures.) User Notes: Installation of cURL First, apply a patch to fix DNS resolution issues: patch -Np1 -i ../curl-7.65.1-fix_dns_segfaults-2.patch Install cURL by running the following commands: ./configure --prefix=/usr \ --disable-static \ --enable-threaded-resolver \ --with-ca-path=/etc/ssl/certs && make To run the test suite, issue: make test. Tests 323 and 1560 are known to fail. Now, as the root user: make install && rm -rf docs/examples/.deps && find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \; && install -v -d -m755 /usr/share/doc/curl-&curl-version; && cp -v -R docs/* /usr/share/doc/curl-&curl-version; Simple tests to the new installed curl: curl --trace-ascii debugdump.txt http://www.example.com/ and curl --trace-ascii d.txt --trace-time http://example.com/. Inspect the locally created trace files debugdump.txt and d.txt, which contain version downloaded files information, etc. One file has the time for each action logged. Command Explanations --enable-threaded-resolver: This switch enables cURL's builtin threaded DNS resolver. --with-ca-path=/etc/ssl/certs: This switch sets the location of the BLFS Certificate Authority store. : This parameter adds Kerberos 5 support to libcurl. : Use to build with GnuTLS support instead of OpenSSL for SSL/TLS. : Use this switch instead of --with-ca-path if building with GnuTLS support instead of OpenSSL for SSL/TLS. : This paramater adds SSH support to cURL. This is disabled by default. : This paramater adds support for DNS resolution through the c-ares library. It is disabled by default, but does speed up DNS resolution queries. find docs ... -exec rm {} \;: This command removes Makefiles and man files from the documentation directory that would otherwise be installed by the commands that follow. Contents Installed Programs Installed Library Installed Directories curl and curl-config libcurl.so /usr/include/curl and /usr/share/doc/curl-&curl-version; Short Descriptions curl is a command line tool for transferring files with URL syntax. curl curl-config prints information about the last compile, like libraries linked to and prefix setting. curl-config libcurl.so provides the API functions required by curl and other programs. libcurl.so