curl

 

Introduction

 

Usage

module load misc/curl/7.54.0

e.g: curl --cacert /etc/ssl/certs/cacert.pem https://www.centos.org
curl --cacert /etc/ssl/certs/ca-bundle.crt https://www.centos.org

 

Installation

module load gsl/2.3
module load misc/bison/3.0
module load  library/gmp/6.0.0
module load  mpi/openMPI/1.8.5-gcc4.9.0
module load  pcre/10.23                    
module load  cmake/3.8.2
module load  misc/flex/2.6.4
module load  library/mpfr/3.1.2
module load  library/hdf5/1.8.18-parallel
module load  fftw/3.2.2-gnu
module load  misc/openssl/1.0.2
module load  library/szip/2.1.1
module load  library/mpc/1.0.2
module load  NetCDF/4.4.1.1-gnu
module load  library/zlib/1.2.11
module load misc/libssh2/1.8.0

curl
cd /sw/misc/curl/7.54.0/src
#rm -r -f curl-7.54.0
tar -zxvf curl-7.54.0.tar.gz
cd /sw/misc/curl/7.54.0/src/curl-7.54.0
./configure  --enable-debug --with-zlib=/sw/library/zlib/1.2.11/lib --with-ca-bundle=/etc/ssl/certs/ca-bundle.crt --prefix=/sw/misc/curl/7.54.0  2>&1 | tee configureLog.txt


#rm -r -f curl-7.54.0;tar -zxvf curl-7.54.0.tar.gz;cd curl-7.54.0;./configure  --with--ssl --prefix=/sw/misc/curl/7.54.0 2>&1 | tee configure754.txt;make  2>&1 | tee make740.txt;make install 2>&1 | tee make740Install.txt

make 2>&1 | tee makelog.txt
make install 2>&1 | tee makeInstall.txt

>>>>>>>>>>>
curl version:     7.54.0
  Host setup:       x86_64-pc-linux-gnu
  Install prefix:   /sw/misc/curl/7.54.0
  Compiler:         gcc
  SSL support:      enabled (OpenSSL)
  SSH support:      enabled (libSSH2)
  zlib support:     enabled
  GSS-API support:  no      (--with-gssapi)
  TLS-SRP support:  enabled
  resolver:         default (--enable-ares / --enable-threaded-resolver)
  IPv6 support:     enabled
  Unix sockets support: enabled
  IDN support:      no      (--with-{libidn2,winidn})
  Build libcurl:    Shared=yes, Static=yes
  Built-in manual:  enabled
  --libcurl option: enabled (--disable-libcurl-option)
  Verbose errors:   enabled (--disable-verbose)
  SSPI support:     no      (--enable-sspi)
  ca cert bundle:   /etc/ssl/certs/ca-bundle.crt
  ca cert path:     no
  ca fallback:      no
  LDAP support:     no      (--enable-ldap / --with-ldap-lib / --with-lber-lib)
  LDAPS support:    no      (--enable-ldaps)
  RTSP support:     enabled
  RTMP support:     enabled (librtmp)
  metalink support: no      (--with-libmetalink)
  PSL support:      no      (libpsl not found)
  HTTP2 support:    disabled (--with-nghttp2)
  Protocols:        DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP




>>>>>>>>>> 

 

Reference

Â