How to Install CURL in Ubuntu 20.04

CURL is a command-line utility that also serves as a library for automating data transfer to and from a web server. It also serves as the backbone for hundreds of thousands of software applications working on the internet, used by millions of people across the globe. CURL is at the same time robust and lightweight and is compatible with all Linux distributions.

With CURL, you can download information and make changes to HTTP requests by exporting the information into file formats readable by other software to sort the information according to relevant details and to perform detailed analysis of the data.

This article provides a short guide on how to install CURL on your Ubuntu 20.04 system.

Installing CURL on Your Ubuntu 20.04 System

Installing curl on an Ubuntu system is a fairly simple process.

We will start by updating Ubuntu’s package repository to the latest version. Fire up a terminal window (Ctrl+Alt+T) and enter the following line of code:

$ sudo apt update

The Ubuntu 20.04 package cache will be updated with the above command.

Since CURL is included in Ubuntu’s official repositories, you can download this program with just a single line of code. With the cache updated, you can install CURL using the following command:

$ sudo apt install curl

Wait for the installer to finish. You can verify the installation with the following command:

$ curl --version

And that is all! This is how you can install CURL in just a few simple steps. With the command executed, CURL should be installed on your machine. If you followed the instructions to the tee, you should have the latest version installed.


As you can see, installing CURL on Ubuntu 20.04 is easy. But do not let the quick installation process lead you to believe that CURL is just a simple tool; there is a whole lot more to explore with CURL. CURL’s surge in popularity as an open-source command-line utility among tech professionals is on the rise. The software has been in use for some twenty years and continues to grow its user base.

In the next tutorial on CURL, we will discuss some basic functions you can perform with it, such as downloading webpages, checking a URL’s validity, downloading files from the web, downloading other content, how to customize the download speeds, and more! We hope that you have found this walkthrough helpful. Stay tuned for more installation guides and, in the meantime, feel free to check out some of the other articles on our website.

About the author

Younis Said

I am a freelancing software project developer, a software engineering graduate and a content writer. I love working with Linux and open-source software.