What is cURL?
As per the man page of cURL:
curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
You can use cURL to download content from the web, display information in pre-formatted way.
Now, how do you install cURL on Ubuntu? It’s dead simple. Just use this command to install cURL from Ubuntu’s official repository.
sudo apt install curl
That’s it. You’ll have cURL installed on Ubuntu-based Linux distributions.