The cURL Linux command can use various network protocols to download and upload data on a Linux system. It's a tool that proves handy for downloading files, in which it functions similarly to wget, as well as debugging, performing downloads with authentication, uploading via FTP, and more.

In this guide, we'll show you how to install the cURL utility on Ubuntu Linux. After it's installed, you can use it to download files on the command line or perform a slew of other functions.

In this tutorial you will learn:
  • How to install curl on Ubuntu
Installing curl on Ubuntu
Installing curl on Ubuntu
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Ubuntu Linux
Software cURL
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Install Curl on Ubuntu

Looking for Linux Systems Analyst !

The UAF Geophysical Institute, is looking for an experienced Linux Systems Analyst to join their team of research cyber infrastructure analysts and engineers. LOCATION: Fairbanks, Alaska, USA


You can install curl via apt package manager on Ubuntu by opening a terminal and executing the two following commands.

$ sudo apt update
$ sudo apt -y install curl
apt commands used to install curl on Ubuntu
apt commands used to install curl on Ubuntu

That's all there is to it. To get started using curl, you should check out our guide on downloading files with curl, where you'll learn a lot about the utility and can follow along with examples.

To read curl's official documentation, you can always check out its man page.

$ man curl
The curl man page
The curl man page

Closing Thoughts

In this short guide, we saw how to install the curl utility on Ubuntu Linux. It's an old tool with a variety of uses and options. Adding it to your Linux repertoire will definitely prove useful.

Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
Get extra help by visiting our LINUX FORUM or simply use comments below.

Comments and Discussions