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


  • 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


  • 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

SCP (*8)

  • both password and public key auth

SFTP (*8)

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


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

LDAP (*2)

  • full LDAP URL support


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


  • 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


  • 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*



sudo make install

How to remove / uninstall app

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

About the author


A passionate Linux user for personal and professional reasons, always exploring what is new in the world of Linux and sharing with my readers.

Leave a Comment