curl for AIX

Install curl

1
2
3
4
5
6
7
8
9
10
# rpm -U   \
curl-7.52.1-1.aix6.1.ppc.rpm \
ca-certificates-2019.01.10-2.aix6.1.ppc.rpm \
p11-kit-0.23.16-1.aix6.1.ppc.rpm \
p11-kit-tools-0.23.16-1.aix6.1.ppc.rpm

# curl --version
curl 7.52.1 (powerpc-ibm-aix6.1.8.0) libcurl/7.52.1 OpenSSL/1.0.2u zlib/1.2.11
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy

Using with HTTPS Proxy

1
2
3
4
5
6
7
8
9
# curl -x 10.114.237.2:8080 https://bastet.unixhk.com

.OR.

# export https_proxy=10.114.237.2:8080
# curl https://bastet.unixhk.com

# Download file
# curl -x 10.114.237.2:8080 -O https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/rsync/rsync-2.4.6-3.aix4.3.ppc.rpm

Download file

1
# curl -O https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/rsync/rsync-2.4.6-3.aix4.3.ppc.rpm