How you can Set up Curl in Linux

On this article, you’ll learn to set up the curl command-line instrument for transferring knowledge to and from a server utilizing varied sorts of requests. It’s an alternative choice to downloading recordsdata apart from utilizing wget command.

The curl command downloads recordsdata which might be served with FTP, HTTP, SCP, IMAP, and different varied supported protocols. It’s an amalgamation of the phrases World Huge Net and it’s utilized in Unix/Linux programs to obtain recordsdata and packages on the Linux terminal.

Set up curl on Ubuntu/Debian

In trendy programs, curl comes pre-installed. Nonetheless, In case you are operating an occasion of Ubuntu or Debian, subject the command.

# apt-get set up curl

Install Curl in Debian and Ubuntu

Set up Curl in Debian and Ubuntu

To confirm the curl set up, run.

# dpkg -l | grep curl

Confirm Curl Installation on Debian and Ubuntu

Affirm Curl Set up on Debian and Ubuntu

Set up curl on RHEL / CentOS / Fedora

To put in curl on RHEL, CentOS and Fedora distros, log in by way of SSH as root and run the command.

# yum set up curl

Install Curl in CentOS

Set up Curl in CentOS

To substantiate the set up of curl, run.

# rpm -qa | grep curl

Confirm Curl Installation on CentOS

Affirm Curl Set up on CentOS

Set up curl on OpenSUSE

On OpenSUSE, set up curl by operating.

# zypper set up curl

Install Curl in OpenSuse

Set up Curl in OpenSuse

To substantiate the set up of curl run.

# zypper se curl

Confirm Curl Installation on OpenSUSE

Affirm Curl Set up on OpenSUSE

Set up curl on ArchLinux

To put in Curl on ArchLinux, run.

# pacman -Sy curl

Install Curl on Arch Linux

Set up Curl on Arch Linux

And at last, to verify its set up run the command.

# pacman -Qi curl

Confirm Curl Installation on Arch Linux

Affirm Curl Set up on Arch Linux

To know extra about curl command utilization and examples, I counsel you learn our following article that explains how you should use curl command-line utility for downloading recordsdata from the online.

  1. 15 Suggestions On How you can Use ‘Curl’ Command in Linux

And with that, we have now come to the top of this information. On this tutorial, you discovered the best way to set up curl in numerous Linux distributions.

Supply

Germany Devoted Server

Leave a Reply