HowTos Linux

Install latest cURL – Command Line Tool on Linux

cURL is an open source, command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. It supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling and a busload of other useful tricks.

It’s used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players

curl command line

A Quick look at some Feature Highlights

Tool

  • config file support
  • multiple URLs in a single command line
  • range “globbing” support: [0-13], {one,two,three}
  • multiple file upload on a single command line
  • custom maximum transfer rate

FTP

  • download, authentication
  • Kerberos 5 (*14)
  • active/passive using PORT, EPRT, PASV or EPSV
  • single file size information (compare to HTTP HEAD)
  • upload via http-proxy as HTTP PUT
  • download / upload resume
  • all operations can be tunneled through a http-proxy
  • customizable to retrieve file modification date
READ  Battle For Wesnoth 1.13.6 Development Released, Install on Ubuntu 17.04 Zesty

SCP (*8)

  • both password and public key auth

SFTP (*8)

  • both password and public key auth
  • with custom commands sent before/after the transfer

TELNET

  • connection negotiation
  • custom telnet options
  • stdin/stdout I/O

LDAP (*2)

  • full LDAP URL support

SMB

  • SMBv1 over TCP and SSL
  • download & upload
  • authentication with NTLMv1

SMTP

  • authentication: Plain, Login, CRAM-MD5, Digest-MD5, NTLM (*9), Kerberos 5, (*4) and External.
  • send e-mails
  • mail auth support for trusted server-to-server relaying
  • multiple recipients

POP3

  • authentication: Clear Text, APOP and SASL
  • SASL based authentication: Plain, Login, CRAM-MD5, Digest-MD5, NTLM (*9), Kerberos 5 (*4) and External.
  • list e-mails
  • retrieve e-mails

For more features

See Changelog For Latest Release

Install latest cURL on Ubuntu 16.04 (Yakkety Yak), 16.04 (Xenial Xerus), Ubuntu 15.10 (Wily Werewolf), Ubuntu 15.04(Vivid Vervet), Ubuntu 14.04 (Trusty Tahr)

Download the most recent tar.gz update “https://curl.haxx.se/download/”

wget https://curl.haxx.se/download/curl-7.52.1.tar.gz
tar -xvf curl-7.52.1.tar.gz

cd curl-7*

./configure

make

sudo make install

How to remove / uninstall app

  • Simply run the following commands
sudo apt-get remove curl

About the author

Admin

A passionate Linux and Open Source user. In my spare time, I love developing mobile games for fun (You can check my games out iOS Store | Google Play Store) and also spend time contributing to the Linux community.

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz