
This will also give you the current installed version. It cannot be more simple than this, can it? Once the installation is finished, you can check everything went fine using: curl -version Now that you updated the cache, you can install curl using apt command like this: sudo apt install curl

Open a terminal (use Ctrl+Alt+T shortcut on Ubuntu) and use the following command to update Ubuntu package cache: sudo apt update

But before you install curl, I suggest updating the local package cache first. Which means installing curl on Ubuntu is just a matter of a single command. Since curl is a popular open source software that has been used for more than twenty years now, Ubuntu includes it in the main repository. The scope of this quick tutorial is to show how to install curl on Ubuntu. The full range of options can be easily referenced in the man page, accessible using the man curl command or by following this link. We are not going to discuss various ways curl command can be used. This is why curl is used in numerous software projects across the globe.

Curl allows more complex operations than simply downloading files: any sort of HTTP requests, SSL connections, FTP uploads, authentication, managing proxies, setting timeouts and many more.Īnother major advantage is the fact that it is designed to work without user interaction and can very easily be used in scripts. To install curl on Ubuntu or Ubuntu-based Linux distributions, you can use the apt command in the terminal like this:Ĭurl is one of the underrated and yet crucial command line tool for transferring data using various network protocol.Īs a Linux user, you’ll often come across curl being used for downloading software from web repositories.
